mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-07 20:08:53 +00:00
[ticket/12273] Fix unit test for multi line $vars
PHPBB3-12273
This commit is contained in:
parent
b0a9acd8ff
commit
8599554443
1 changed files with 2 additions and 2 deletions
|
@ -40,6 +40,6 @@
|
|||
* delete, cancel, refresh, error, page_data, message_parser
|
||||
*/
|
||||
$vars = array('post_data', 'moderators', 'mode', 'page_title', 's_topic_icons', 'form_enctype');
|
||||
$vars += array('s_action', 's_hidden_fields', 'post_id', 'topic_id', 'forum_id', 'submit', 'preview');
|
||||
$vars += array('save', 'load', 'delete', 'cancel', 'refresh', 'error', 'page_data', 'message_parser');
|
||||
$vars = array_merge($vars, array('s_action', 's_hidden_fields', 'post_id', 'topic_id', 'forum_id', 'submit', 'preview'));
|
||||
$vars = array_merge($vars, array('save', 'load', 'delete', 'cancel', 'refresh', 'error', 'page_data', 'message_parser'));
|
||||
extract($phpbb_dispatcher->trigger_event('core.posting_modify_template_vars', compact($vars)));
|
||||
|
|
Loading…
Add table
Reference in a new issue