fix bug 969826 related to single to double quotes
authorAntoine Musso <hashar@users.mediawiki.org>
Wed, 9 Jun 2004 19:53:13 +0000 (19:53 +0000)
committerAntoine Musso <hashar@users.mediawiki.org>
Wed, 9 Jun 2004 19:53:13 +0000 (19:53 +0000)
includes/Article.php

index 1e47445..54ab726 100644 (file)
@@ -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';