From 0df4098652b2b603b087aa73f861f8324d952e24 Mon Sep 17 00:00:00 2001 From: Roan Kattouw Date: Thu, 10 Jul 2008 14:19:06 +0000 Subject: [PATCH] Forgot to change one strencode() to addQuotes() --- includes/api/ApiQueryLangLinks.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')"); -- 2.20.1