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:
b3230df
)
Make sure to use table prefixes correctly. Thanks to siebrand for reporting the...
author
Aryeh Gregor
<simetrical@users.mediawiki.org>
Tue, 15 Apr 2008 14:35:18 +0000
(14:35 +0000)
committer
Aryeh Gregor
<simetrical@users.mediawiki.org>
Tue, 15 Apr 2008 14:35:18 +0000
(14:35 +0000)
includes/UserMailer.php
patch
|
blob
|
history
diff --git
a/includes/UserMailer.php
b/includes/UserMailer.php
index
546f0c7
..
cee1cc8
100644
(file)
--- a/
includes/UserMailer.php
+++ b/
includes/UserMailer.php
@@
-362,7
+362,10
@@
class EmailNotification {
}
$dbr = wfGetDB( DB_SLAVE );
- $res = $dbr->select( array( 'watchlist', 'user' ), array( 'user.*' ),
+ list( $user ) = $dbr->tableNamesN( 'user' );
+
+ $res = $dbr->select( array( 'watchlist', 'user' ),
+ array( "$user.*" ),
array(
'wl_user=user_id',
'wl_title' => $title->getDBkey(),