From: Roan Kattouw Date: Thu, 10 Jul 2008 14:19:06 +0000 (+0000) Subject: Forgot to change one strencode() to addQuotes() X-Git-Tag: 1.31.0-rc.0~46571 X-Git-Url: https://git.cyclocoop.org/admin/?a=commitdiff_plain;h=0df4098652b2b603b087aa73f861f8324d952e24;p=lhc%2Fweb%2Fwiklou.git Forgot to change one strencode() to addQuotes() --- diff --git a/includes/api/ApiQueryLangLinks.php b/includes/api/ApiQueryLangLinks.php index 735f67c0c6..ee2c17ffb4 100644 --- a/includes/api/ApiQueryLangLinks.php +++ b/includes/api/ApiQueryLangLinks.php @@ -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')");