1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-20 23:51:28 +01:00

Merge pull request #4617 from marc1706/ticket/14949

[ticket/14949] Pass full notification array and post data for updating
This commit is contained in:
Marc Alexander 2017-01-06 13:53:39 +01:00
commit f423c2803a
No known key found for this signature in database
GPG Key ID: 50E0D2423696F995

View File

@ -456,6 +456,12 @@ class post extends \phpbb\notification\type\base
return array();
}
return array('notification_data' => $serialized_data);
$data_array = array_merge(array(
'post_time' => $post['post_time'],
'post_id' => $post['post_id'],
'topic_id' => $post['topic_id']
), $this->get_data(false));
return $data_array;
}
}