Skip to:
Content

BuddyPress.org

Ticket #7332: 7332.02.patch

File 7332.02.patch, 1.1 KB (added by slaFFik, 8 years ago)

Activity

  • src/bp-activity/classes/class-bp-activity-query.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    119119                global $wpdb;
    120120
    121121                $sql_chunks = array(
    122                         'where' => array(),
    123                         'join' => array(),
     122                        'where' => array( '1 = 1' ),
     123                        'join'  => array(),
    124124                );
    125125
    126126                $column = isset( $clause['column'] ) ? $this->validate_column( $clause['column'] ) : '';
  • src/bp-activity/classes/class-bp-activity-activity.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    923923
    924924                $sql_array = array(
    925925                        'join'  => '',
    926                         'where' => '',
     926                        'where' => '1 = 1',
    927927                );
    928928
    929929                if ( ! empty( $meta_query ) ) {