diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2014-04-24 17:14:45 +0200 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2014-04-24 17:14:45 +0200 |
commit | 8599554443deee1d655ffc4ae0ad97c60ba0a123 (patch) | |
tree | 0f853777227e2faaf056651a7b607d6059a50381 /tests/event | |
parent | b0a9acd8ff953736d6aeb39095aca278c0869563 (diff) | |
download | forums-8599554443deee1d655ffc4ae0ad97c60ba0a123.tar forums-8599554443deee1d655ffc4ae0ad97c60ba0a123.tar.gz forums-8599554443deee1d655ffc4ae0ad97c60ba0a123.tar.bz2 forums-8599554443deee1d655ffc4ae0ad97c60ba0a123.tar.xz forums-8599554443deee1d655ffc4ae0ad97c60ba0a123.zip |
[ticket/12273] Fix unit test for multi line $vars
PHPBB3-12273
Diffstat (limited to 'tests/event')
-rw-r--r-- | tests/event/fixtures/trigger_many_vars.test | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/event/fixtures/trigger_many_vars.test b/tests/event/fixtures/trigger_many_vars.test index 79f121cd7b..fadfcffefc 100644 --- a/tests/event/fixtures/trigger_many_vars.test +++ b/tests/event/fixtures/trigger_many_vars.test @@ -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))); |