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:
8c46428
)
fix bug 969826 related to single to double quotes
author
Antoine Musso
<hashar@users.mediawiki.org>
Wed, 9 Jun 2004 19:53:13 +0000
(19:53 +0000)
committer
Antoine Musso
<hashar@users.mediawiki.org>
Wed, 9 Jun 2004 19:53:13 +0000
(19:53 +0000)
includes/Article.php
patch
|
blob
|
history
diff --git
a/includes/Article.php
b/includes/Article.php
index
1e47445
..
54ab726
100644
(file)
--- a/
includes/Article.php
+++ b/
includes/Article.php
@@
-1375,7
+1375,7
@@
class Article {
$use_index=$wgIsMySQL?"USE INDEX (name_title_timestamp)":"";
$sql = 'SELECT old_text,old_user,old_user_text,old_timestamp,old_flags ' .
-
'FROM old {$use_index}'
.
+
"FROM old {$use_index}"
.
"WHERE old_namespace={$n} AND old_title='{$tt}'" .
"AND (old_user <> {$uid} OR old_user_text <> '{$ut}')" .
'ORDER BY inverse_timestamp LIMIT 1';