Skip to:
Content

BuddyPress.org

Changeset 8505


Ignore:
Timestamp:
06/13/2014 03:39:37 PM (11 years ago)
Author:
boonebgorges
Message:

Declare $pag_sql empty string in BP_Blogs_Blog::get_by_letter()

This squelches PHP notices when searching for unpaginated results

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/bp-blogs/bp-blogs-classes.php

    r8125 r8505  
    410410            $hidden_sql = "AND wb.public = 1";
    411411
     412        $pag_sql = '';
    412413        if ( $limit && $page )
    413414            $pag_sql = $wpdb->prepare( " LIMIT %d, %d", intval( ( $page - 1 ) * $limit), intval( $limit ) );
Note: See TracChangeset for help on using the changeset viewer.