Skip to:

Opened 15 years ago

Closed 15 years ago

#872 closed defect (bug) (fixed)

BP_Activity_Activity::get_activity_for_user() max_items bug

Reported by: petronic's profile petronic Owned by:
Milestone: 1.1 Priority: minor
Severity: Version:
Component: Keywords: activity max_items


$max variable is not defined, should be $max_items.

Instead of:
if ( $max )

$max_sql = $wpdb->prepare( "LIMIT %d", $max_items );

Should be:
if ( $max_items )

$max_sql = $wpdb->prepare( "LIMIT %d", $max_items );

See patch attached.

Attachments (1)

activity_max_items.diff (490 bytes) - added by petronic 15 years ago.

Download all attachments as: .zip

Change History (4)

#1 @johnjamesjacoby
15 years ago

Confirmed. Good find.

#2 @DJPaul
15 years ago

  • Milestone set to 1.1
  • Priority changed from critical to minor

#3 @apeatling
15 years ago

  • Resolution set to fixed
  • Status changed from new to closed

(In [1776]) Fixes #872 props petronic

Note: See TracTickets for help on using tickets.