aboutsummaryrefslogtreecommitdiffstats
path: root/tests/event/fixtures/trigger_many_vars.test
diff options
context:
space:
mode:
Diffstat (limited to 'tests/event/fixtures/trigger_many_vars.test')
-rw-r--r--tests/event/fixtures/trigger_many_vars.test4
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)));