Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
08/06/2011 12:59:39 PM (14 years ago)
Author:
djpaul
Message:

Cast some limit pagination integers. See #3367

File:
1 edited

Legend:

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

    r4922 r4934  
    469469        global $bp, $wpdb;
    470470
    471         $pag_sql = $limit && $page ? $wpdb->prepare( " LIMIT %d, %d", intval( ( $page - 1 ) * $limit), intval( $limit ) ) : '';
     471        $pag_sql = $limit && $page ? $wpdb->prepare( " LIMIT %d, %d", intval( ( $page - 1 ) * intval( $limit ) ), intval( $limit ) ) : '';
    472472
    473473        $search_terms = like_escape( $wpdb->escape( $search_terms ) );
Note: See TracChangeset for help on using the changeset viewer.