API: Improvements to action=emailuser:
[lhc/web/wiklou.git] / includes / api / ApiQueryImages.php
index edc5e20..35166e0 100644 (file)
@@ -66,7 +66,7 @@ class ApiQueryImages extends ApiQueryGeneratorBase {
                                $this->dieUsage("Invalid continue param. You should pass the " .
                                        "original value returned by the previous query", "_badcontinue");
                        $ilfrom = intval($cont[0]);
-                       $ilto = $this->getDb()->addQuotes($this->titleToKey($cont[1]));
+                       $ilto = $this->getDb()->strencode($this->titleToKey($cont[1]));
                        $this->addWhere("il_from > $ilfrom OR ".
                                        "(il_from = $ilfrom AND ".
                                        "il_to >= '$ilto')");