dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8774063
)
E_NOTICE: $options['USE_INDEX'] might not be set
author
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 10 May 2008 09:49:21 +0000
(09:49 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Sat, 10 May 2008 09:49:21 +0000
(09:49 +0000)
includes/Database.php
patch
|
blob
|
history
diff --git
a/includes/Database.php
b/includes/Database.php
index
9d9a177
..
3c27e66
100644
(file)
--- a/
includes/Database.php
+++ b/
includes/Database.php
@@
-945,7
+945,7
@@
class Database {
}
if( is_array( $table ) ) {
if ( !empty($join_conds) || (isset($options['USE INDEX']) && is_array($options['USE INDEX'])) )
- $from = ' FROM ' . $this->tableNamesWithUseIndexOrJOIN( $table, $options['USE INDEX'], $join_conds );
+ $from = ' FROM ' . $this->tableNamesWithUseIndexOrJOIN( $table,
@
$options['USE INDEX'], $join_conds );
else
$from = ' FROM ' . implode( ',', array_map( array( &$this, 'tableName' ), $table ) );
} elseif ($table!='') {