Skip to:
Content

BuddyPress.org

Ticket #7332: 7332.01.patch

File 7332.01.patch, 1.2 KB (added by slaFFik, 8 years ago)
  • src/bp-core/classes/class-bp-recursive-query.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    6767        protected function get_sql_for_query( $query, $depth = 0 ) {
    6868                $sql_chunks = array(
    6969                        'join'  => array(),
    70                         'where' => array(),
     70                        'where' => array( '1 = 1' ),
    7171                );
    7272
    7373                $sql = array(
    7474                        'join'  => '',
    75                         'where' => '',
     75                        'where' => '1 = 1',
    7676                );
    7777
    7878                $indent = '';
  • src/bp-core/classes/class-bp-user-query.php

    IDEA additional info:
    Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
    <+>UTF-8
     
    247247                // Setup the main SQL query container.
    248248                $sql = array(
    249249                        'select'  => '',
    250                         'where'   => array('1=1'),
     250                        'where'   => array( '1 = 1' ),
    251251                        'orderby' => '',
    252252                        'order'   => '',
    253253                        'limit'   => ''