r37503 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r37502‎ | r37503 | r37504 >
Date:14:19, 10 July 2008
Author:catrope
Status:old
Tags:
Comment:
Forgot to change one strencode() to addQuotes()
Modified paths:
  • /trunk/phase3/includes/api/ApiQueryLangLinks.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/api/ApiQueryLangLinks.php
@@ -58,7 +58,7 @@
5959 $this->dieUsage("Invalid continue param. You should pass the " .
6060 "original value returned by the previous query", "_badcontinue");
6161 $llfrom = intval($cont[0]);
62 - $lllang = $this->getDb()->strencode($cont[1]);
 62+ $lllang = $this->getDb()->addQuotes($cont[1]);
6363 $this->addWhere("ll_from > $llfrom OR ".
6464 "(ll_from = $llfrom AND ".
6565 "ll_lang >= '$lllang')");

Status & tagging log