From a3276c3ffecb677dd9104f65a88bfbf1a368ead1 Mon Sep 17 00:00:00 2001 From: Marc Alexander Date: Mon, 30 Dec 2019 11:46:19 +0100 Subject: [ticket/16274] Fix feed event referring to undefined variables PHPBB3-16274 --- phpBB/phpbb/feed/controller/feed.php | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'phpBB/phpbb/feed/controller/feed.php') 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... -- cgit v1.2.1 /option> Mageia Installer and base platform for many utilitiesThierry Vignaud [tv]
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPablo Saratxaga <pablo@mandriva.com>2003-09-12 00:41:20 +0000
committerPablo Saratxaga <pablo@mandriva.com>2003-09-12 00:41:20 +0000
commitd4d32aca0c6dba5ec706f3ba8689a8c683082a61 (patch)
tree99fde4ca6e8a11f8560c73facf40b1214646956c
parentbb623dd9f2a8c9f45f80c763b6f52df98b64c5b5 (diff)
downloaddrakx-backup-do-not-use-d4d32aca0c6dba5ec706f3ba8689a8c683082a61.tar
drakx-backup-do-not-use-d4d32aca0c6dba5ec706f3ba8689a8c683082a61.tar.gz
drakx-backup-do-not-use-d4d32aca0c6dba5ec706f3ba8689a8c683082a61.tar.bz2
drakx-backup-do-not-use-d4d32aca0c6dba5ec706f3ba8689a8c683082a61.tar.xz
drakx-backup-do-not-use-d4d32aca0c6dba5ec706f3ba8689a8c683082a61.zip
updated pot file