Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
12/04/2012 12:03:40 PM (13 years ago)
Author:
djpaul
Message:

Fix alot of WPDB->Prepare() warnings in the 1.6 branch. See #4654

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/1.6/bp-forums/bp-forums-filters.php

    r5927 r6557  
    158158    global $wpdb;
    159159
    160     $sql = $wpdb->prepare( "DISTINCT t.topic_id, " );
     160    $sql = "DISTINCT t.topic_id, ";
    161161
    162162    return $sql;
     
    179179    global $bbdb, $wpdb;
    180180
    181     $sql .= $wpdb->prepare( " LEFT JOIN $bbdb->posts p ON p.topic_id = t.topic_id " );
     181    $sql .= " LEFT JOIN $bbdb->posts p ON p.topic_id = t.topic_id ";
    182182
    183183    return $sql;
Note: See TracChangeset for help on using the changeset viewer.