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 | Owned by: | |
---|---|---|---|
Milestone: | 1.1 | Priority: | minor |
Severity: | Version: | ||
Component: | Keywords: | activity max_items | |
Cc: |
Description
$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)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Confirmed. Good find.