]> git.wh0rd.org Git - tt-rss.git/commitdiff
pass feed information to hook_article_export_feed
authorAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Tue, 1 Mar 2016 11:42:15 +0000 (14:42 +0300)
committerAndrew Dolgov <noreply@madoka.volgo-balt.ru>
Tue, 1 Mar 2016 11:42:15 +0000 (14:42 +0300)
classes/handler/public.php

index f37d1f67f691188445f480c7aa051de25bd96113..46fc90fe114ff6cfde12bdc61ba534cc86956abc 100644 (file)
@@ -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();