Skip to:
Content

BuddyPress.org

Changeset 1776


Ignore:
Timestamp:
09/03/2009 05:59:03 PM (16 years ago)
Author:
apeatling
Message:

Fixes #872 props petronic

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/bp-activity/bp-activity-classes.php

    r1691 r1776  
    149149            $pag_sql = $wpdb->prepare( "LIMIT %d, %d", intval( ( $page - 1 ) * $limit), intval( $limit ) );
    150150
    151         if ( $max )
     151        if ( $max_items )
    152152            $max_sql = $wpdb->prepare( "LIMIT %d", $max_items );
    153153       
Note: See TracChangeset for help on using the changeset viewer.