Opened 17 years ago
Closed 17 years ago
#872 closed defect (bug) (fixed)
BP_Activity_Activity::get_activity_for_user() max_items bug
| Reported by: | petronic | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.1 |
| Component: | Version: | ||
| Severity: | 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Confirmed. Good find.