af_zz_imgproxy: fix typo

This commit is contained in:
Andrew Dolgov 2017-02-13 08:08:19 +03:00
parent 454292b295
commit ff4f2b1e0c

View file

@ -27,7 +27,7 @@ class Af_Zz_ImgProxy extends Plugin {
if (preg_match("/image/", $enc["content_type"]) || preg_match("/\.(jpe?g|png|gif|bmp)$/i", $enc["filename"])) {
$proxy_all = $this->host->get($this, "proxy_all");
$enc["content_url"] = $this->rewrite_url_if_needed($enc["content_url"], $proxy_all);
$enc["content_url"] = $this->rewrite_url_if_needed($enc["content_url"], 0, $proxy_all);
}
return $enc;