diff options
author | Marc Alexander <admin@m-a-styles.de> | 2019-12-30 11:46:19 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2019-12-30 11:46:52 +0100 |
commit | a3276c3ffecb677dd9104f65a88bfbf1a368ead1 (patch) | |
tree | 9707d77211d226982f8528c24792955279a53e7b /phpBB | |
parent | 4956dc3197d2a62e6039930cde018042d3d0c649 (diff) | |
download | forums-a3276c3ffecb677dd9104f65a88bfbf1a368ead1.tar forums-a3276c3ffecb677dd9104f65a88bfbf1a368ead1.tar.gz forums-a3276c3ffecb677dd9104f65a88bfbf1a368ead1.tar.bz2 forums-a3276c3ffecb677dd9104f65a88bfbf1a368ead1.tar.xz forums-a3276c3ffecb677dd9104f65a88bfbf1a368ead1.zip |
[ticket/16274] Fix feed event referring to undefined variables
PHPBB3-16274
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/feed/controller/feed.php | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/phpBB/phpbb/feed/controller/feed.php b/phpBB/phpbb/feed/controller/feed.php index c0d7bc72ec..7826d19042 100644 --- a/phpBB/phpbb/feed/controller/feed.php +++ b/phpBB/phpbb/feed/controller/feed.php @@ -308,14 +308,13 @@ class feed * Event to modify the feed row * * @event core.feed_modify_feed_row - * @var int forum_id Forum ID - * @var string mode Feeds mode (forums|topics|topics_new|topics_active|news) + * @var feed_interface feed Feed instance * @var array row Array with feed data - * @var int topic_id Topic ID * * @since 3.1.10-RC1 + * @changed 3.3.0 Replace forum_id, mode, topic_id with feed instance */ - $vars = array('forum_id', 'mode', 'row', 'topic_id'); + $vars = array('feed', 'row'); extract($this->phpbb_dispatcher->trigger_event('core.feed_modify_feed_row', compact($vars))); // BBCode options to correctly disable urls, smilies, bbcode... |