From 077e144c05d924821e450a259786192c9a26fd62 Mon Sep 17 00:00:00 2001 From: Aaron Schulz Date: Sat, 10 May 2008 13:42:07 +0000 Subject: [PATCH] Just use @ here too --- includes/Database.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Database.php b/includes/Database.php index 1df8571a09..001b0448c8 100644 --- a/includes/Database.php +++ b/includes/Database.php @@ -944,7 +944,7 @@ class Database { $options = array( $options ); } if( is_array( $table ) ) { - if ( !empty($join_conds) || (isset($options['USE INDEX']) && is_array($options['USE INDEX'])) ) + if ( !empty($join_conds) || is_array( @$options['USE INDEX'] ) ) $from = ' FROM ' . $this->tableNamesWithUseIndexOrJOIN( $table, @$options['USE INDEX'], $join_conds ); else $from = ' FROM ' . implode( ',', array_map( array( &$this, 'tableName' ), $table ) ); -- 2.20.1