Skip to:
Content

BuddyPress.org

Changeset 1840


Ignore:
Timestamp:
09/10/2009 01:35:32 AM (12 years ago)
Author:
apeatling
Message:

Fixing incorrect variable names.

File:
1 edited

Legend:

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

    r1839 r1840  
    216216        if ( $filter )
    217217            $filter_sql = BP_Activity_Activity::get_filter_sql( $filter );
    218        
     218
    219219        if ( $limit && $page && $max )
    220220            $activities = $wpdb->get_results( $wpdb->prepare( "SELECT * FROM {$bp->activity->table_name} WHERE hide_sitewide = 0 $filter_sql ORDER BY date_recorded DESC $pag_sql" ) );
     
    287287
    288288        if ( !empty( $filter_array['primary_id'] ) ) {
    289             $pid_filter = explode( ',', $filter_array['action'] );
     289            $pid_filter = explode( ',', $filter_array['primary_id'] );
    290290            $pid_sql = ' AND ( ';
    291291           
     
    304304
    305305        if ( !empty( $filter_array['secondary_id'] ) ) {
    306             $sid_filter = explode( ',', $filter_array['action'] );
     306            $sid_filter = explode( ',', $filter_array['secondary_id'] );
    307307            $sid_sql = ' AND ( ';
    308308           
Note: See TracChangeset for help on using the changeset viewer.