summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/functions2.php2
-rw-r--r--plugins/af_zz_imgproxy/init.php2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/functions2.php b/include/functions2.php
index 21fe805f7..75a3f8716 100644
--- a/include/functions2.php
+++ b/include/functions2.php
@@ -1945,7 +1945,7 @@
foreach ($result as $line) {
foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ENCLOSURE_ENTRY) as $plugin) {
- $line = $plugin->hook_render_enclosure($line);
+ $line = $plugin->hook_enclosure_entry($line);
}
$url = $line["content_url"];
diff --git a/plugins/af_zz_imgproxy/init.php b/plugins/af_zz_imgproxy/init.php
index 923f81734..bfa44a3b1 100644
--- a/plugins/af_zz_imgproxy/init.php
+++ b/plugins/af_zz_imgproxy/init.php
@@ -26,7 +26,7 @@ class Af_Zz_ImgProxy extends Plugin {
function hook_enclosure_entry($enc) {
$proxy_all = $this->host->get($this, "proxy_all");
- $enc["url"] = $this->rewrite_url_if_needed($enc["url"], $proxy_all);
+ $enc["content_url"] = $this->rewrite_url_if_needed($enc["content_url"], $proxy_all);
return $enc;
}