Skip to content

Commit

Permalink
[ticket/14468] Add forum_id to core.viewforum_modify_topics_data
Browse files Browse the repository at this point in the history
PHPBB3-14468
  • Loading branch information
senky committed Dec 18, 2016
1 parent dbd9c1f commit ea73920
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion phpBB/viewforum.php
Expand Up @@ -782,9 +782,11 @@
* @var array topic_list Array with current viewforum page topic ids
* @var array rowset Array with topics data (in topic_id => topic_data format)
* @var int total_topic_count Forum's total topic count
* @var int forum_id Forum identifier
* @since 3.1.0-b3
* @changed 3.1.11-RC1 Added forum_id
*/
$vars = array('topic_list', 'rowset', 'total_topic_count');
$vars = array('topic_list', 'rowset', 'total_topic_count', 'forum_id');
extract($phpbb_dispatcher->trigger_event('core.viewforum_modify_topics_data', compact($vars)));

// Okay, lets dump out the page ...
Expand Down

0 comments on commit ea73920

Please sign in to comment.