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:
bbf11e8
)
FU r100286: Added sanity check to fetchFromConds() join conds
author
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 19 Oct 2011 23:56:48 +0000
(23:56 +0000)
committer
Aaron Schulz
<aaron@users.mediawiki.org>
Wed, 19 Oct 2011 23:56:48 +0000
(23:56 +0000)
includes/Revision.php
patch
|
blob
|
history
diff --git
a/includes/Revision.php
b/includes/Revision.php
index
8009b81
..
065d7f9
100644
(file)
--- a/
includes/Revision.php
+++ b/
includes/Revision.php
@@
-277,7
+277,7
@@
class Revision {
__METHOD__,
array( 'LIMIT' => 1 ),
array( 'page' => array( 'INNER JOIN', 'page_id = rev_page' ),
- 'user' => array( 'LEFT JOIN', 'user_id = rev_user' ) )
+ 'user' => array( 'LEFT JOIN', '
rev_user != 0 AND
user_id = rev_user' ) )
);
}