Forgot to change one strencode() to addQuotes()
authorRoan Kattouw <catrope@users.mediawiki.org>
Thu, 10 Jul 2008 14:19:06 +0000 (14:19 +0000)
committerRoan Kattouw <catrope@users.mediawiki.org>
Thu, 10 Jul 2008 14:19:06 +0000 (14:19 +0000)
includes/api/ApiQueryLangLinks.php

index 735f67c..ee2c17f 100644 (file)
@@ -58,7 +58,7 @@ class ApiQueryLangLinks extends ApiQueryBase {
                                $this->dieUsage("Invalid continue param. You should pass the " .
                                        "original value returned by the previous query", "_badcontinue");
                        $llfrom = intval($cont[0]);
-                       $lllang = $this->getDb()->strencode($cont[1]);
+                       $lllang = $this->getDb()->addQuotes($cont[1]);
                        $this->addWhere("ll_from > $llfrom OR ".
                                        "(ll_from = $llfrom AND ".
                                        "ll_lang >= '$lllang')");