diff options
author | Joas Schilling <nickvergessen@gmx.de> | 2013-03-26 14:09:35 +0100 |
---|---|---|
committer | Joas Schilling <nickvergessen@gmx.de> | 2013-03-26 20:17:24 +0100 |
commit | 0f204595d9b69c29716e8cf0ccf5033e66f5294f (patch) | |
tree | 3dc4e2c2a591238308fae78ed03396eb8ada8210 | |
parent | 81cf02e057080dda384716022b6cc4c9cc1ff461 (diff) | |
download | forums-0f204595d9b69c29716e8cf0ccf5033e66f5294f.tar forums-0f204595d9b69c29716e8cf0ccf5033e66f5294f.tar.gz forums-0f204595d9b69c29716e8cf0ccf5033e66f5294f.tar.bz2 forums-0f204595d9b69c29716e8cf0ccf5033e66f5294f.tar.xz forums-0f204595d9b69c29716e8cf0ccf5033e66f5294f.zip |
[ticket/11405] Fix "only variables should be passed by reference"
PHPBB3-11405
-rw-r--r-- | tests/notification/submit_post_base.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/notification/submit_post_base.php b/tests/notification/submit_post_base.php index d306e3f381..c5b2450e1c 100644 --- a/tests/notification/submit_post_base.php +++ b/tests/notification/submit_post_base.php @@ -126,7 +126,9 @@ class phpbb_notification_submit_post_base extends phpbb_database_test_case $this->assertEquals($expected_before, $this->db->sql_fetchrowset($result)); $this->db->sql_freeresult($result); - submit_post('reply', '', 'poster-name', POST_NORMAL, $this->poll_data, array_merge($this->post_data, $additional_post_data), false, false); + $poll_data = $this->poll_data; + $post_data = array_merge($this->post_data, $additional_post_data); + submit_post('reply', '', 'poster-name', POST_NORMAL, $poll_data, $post_data, false, false); $sql = 'SELECT user_id, item_id, item_parent_id FROM ' . NOTIFICATIONS_TABLE . " |