Index: src/bp-core/classes/class-bp-recursive-query.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/bp-core/classes/class-bp-recursive-query.php	(revision 11373)
+++ src/bp-core/classes/class-bp-recursive-query.php	(revision )
@@ -67,12 +67,12 @@
 	protected function get_sql_for_query( $query, $depth = 0 ) {
 		$sql_chunks = array(
 			'join'  => array(),
-			'where' => array(),
+			'where' => array( '1 = 1' ),
 		);
 
 		$sql = array(
 			'join'  => '',
-			'where' => '',
+			'where' => '1 = 1',
 		);
 
 		$indent = '';
Index: src/bp-core/classes/class-bp-user-query.php
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/bp-core/classes/class-bp-user-query.php	(revision 11376)
+++ src/bp-core/classes/class-bp-user-query.php	(revision )
@@ -247,7 +247,7 @@
 		// Setup the main SQL query container.
 		$sql = array(
 			'select'  => '',
-			'where'   => array('1=1'),
+			'where'   => array( '1 = 1' ),
 			'orderby' => '',
 			'order'   => '',
 			'limit'   => ''
