]> git.wh0rd.org - tt-rss.git/commitdiff
af_zz_imgproxy: fix typo
authorAndrew Dolgov <noreply@fakecake.org>
Mon, 13 Feb 2017 05:08:19 +0000 (08:08 +0300)
committerAndrew Dolgov <noreply@fakecake.org>
Mon, 13 Feb 2017 05:08:19 +0000 (08:08 +0300)
plugins/af_zz_imgproxy/init.php

index 2102370e3ce9b53c289de34b12edb981c86c3588..b2ec1aa8f56d984c3189ad2f88bdc97b88dc1caa 100644 (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;