mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-12 22:38:52 +00:00
[ticket/11405] Fix "only variables should be passed by reference"
PHPBB3-11405
This commit is contained in:
parent
81cf02e057
commit
0f204595d9
1 changed files with 3 additions and 1 deletions
|
@ -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->assertEquals($expected_before, $this->db->sql_fetchrowset($result));
|
||||||
$this->db->sql_freeresult($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
|
$sql = 'SELECT user_id, item_id, item_parent_id
|
||||||
FROM ' . NOTIFICATIONS_TABLE . "
|
FROM ' . NOTIFICATIONS_TABLE . "
|
||||||
|
|
Loading…
Add table
Reference in a new issue