From ff4f2b1e0ce85e53d15e0d7f96b9cd9e1bcfa83a Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Mon, 13 Feb 2017 08:08:19 +0300 Subject: [PATCH] af_zz_imgproxy: fix typo --- plugins/af_zz_imgproxy/init.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/af_zz_imgproxy/init.php b/plugins/af_zz_imgproxy/init.php index 2102370e..b2ec1aa8 100644 --- a/plugins/af_zz_imgproxy/init.php +++ b/plugins/af_zz_imgproxy/init.php @@ -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;