mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 06:08:52 +00:00
[ticket/16274] Fix feed event referring to undefined variables
PHPBB3-16274
This commit is contained in:
parent
4956dc3197
commit
a3276c3ffe
1 changed files with 3 additions and 4 deletions
|
@ -308,14 +308,13 @@ class feed
|
||||||
* Event to modify the feed row
|
* Event to modify the feed row
|
||||||
*
|
*
|
||||||
* @event core.feed_modify_feed_row
|
* @event core.feed_modify_feed_row
|
||||||
* @var int forum_id Forum ID
|
* @var feed_interface feed Feed instance
|
||||||
* @var string mode Feeds mode (forums|topics|topics_new|topics_active|news)
|
|
||||||
* @var array row Array with feed data
|
* @var array row Array with feed data
|
||||||
* @var int topic_id Topic ID
|
|
||||||
*
|
*
|
||||||
* @since 3.1.10-RC1
|
* @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)));
|
extract($this->phpbb_dispatcher->trigger_event('core.feed_modify_feed_row', compact($vars)));
|
||||||
|
|
||||||
// BBCode options to correctly disable urls, smilies, bbcode...
|
// BBCode options to correctly disable urls, smilies, bbcode...
|
||||||
|
|
Loading…
Add table
Reference in a new issue