From 9232283815c72e82d1b2167c03954b687a15fad4 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 1 Mar 2016 14:42:15 +0300 Subject: [PATCH] pass feed information to hook_article_export_feed --- classes/handler/public.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/classes/handler/public.php b/classes/handler/public.php index f37d1f67..46fc90fe 100644 --- a/classes/handler/public.php +++ b/classes/handler/public.php @@ -135,7 +135,7 @@ class Handler_Public extends Handler { } foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_EXPORT_FEED) as $p) { - $line = $p->hook_article_export_feed($line); + $line = $p->hook_article_export_feed($line, $feed, $is_cat); } $tpl->setVariable('ARTICLE_ID', @@ -227,7 +227,7 @@ class Handler_Public extends Handler { } foreach (PluginHost::getInstance()->get_hooks(PluginHost::HOOK_ARTICLE_EXPORT_FEED) as $p) { - $line = $p->hook_article_export_feed($line); + $line = $p->hook_article_export_feed($line, $feed, $is_cat); } $article = array(); -- 2.39.2