mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-28 22:28:51 +00:00
[ticket/12273] Fix missing $vars line
PHPBB3-12273
This commit is contained in:
parent
7b53210926
commit
8f57880edb
2 changed files with 4 additions and 2 deletions
|
@ -1497,7 +1497,8 @@ function submit_post($mode, $subject, $username, $topic_type, &$poll, &$data, $u
|
|||
* @var bool update_search_index Flag indicating if the search index will be updated
|
||||
* @since 3.1.0-a4
|
||||
*/
|
||||
extract($phpbb_dispatcher->trigger_event('core.modify_submit_post_data', compact(array('mode', 'subject', 'username', 'topic_type', 'poll', 'data', 'update_message', 'update_search_index'))));
|
||||
$vars = array('mode', 'subject', 'username', 'topic_type', 'poll', 'data', 'update_message', 'update_search_index');
|
||||
extract($phpbb_dispatcher->trigger_event('core.modify_submit_post_data', compact($vars)));
|
||||
|
||||
// We do not handle erasing posts here
|
||||
if ($mode == 'delete')
|
||||
|
|
|
@ -197,7 +197,8 @@ if ($quickmod)
|
|||
* @var bool is_valid_action Flag indicating if the action was handled properly
|
||||
* @since 3.1.0-a4
|
||||
*/
|
||||
extract($phpbb_dispatcher->trigger_event('core.modify_quickmod_options', compact(array('module', 'action', 'is_valid_action'))));
|
||||
$vars = array('module', 'action', 'is_valid_action');
|
||||
extract($phpbb_dispatcher->trigger_event('core.modify_quickmod_options', compact($vars)));
|
||||
|
||||
if (!$is_valid_action)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue