diff options
author | Marc Alexander <admin@m-a-styles.de> | 2017-01-06 13:53:39 +0100 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2017-01-06 13:53:39 +0100 |
commit | f423c2803a1aae09d1ea23ae3ec66b46c5d41312 (patch) | |
tree | 881b88f97af71b9328624d9b44dba829701f37c5 | |
parent | 91637f80703b0942e0eed268c79aaab0f5f6b81f (diff) | |
parent | 0a68593dd2ac015749e22aae015e5b22ba460c82 (diff) | |
download | forums-f423c2803a1aae09d1ea23ae3ec66b46c5d41312.tar forums-f423c2803a1aae09d1ea23ae3ec66b46c5d41312.tar.gz forums-f423c2803a1aae09d1ea23ae3ec66b46c5d41312.tar.bz2 forums-f423c2803a1aae09d1ea23ae3ec66b46c5d41312.tar.xz forums-f423c2803a1aae09d1ea23ae3ec66b46c5d41312.zip |
Merge pull request #4617 from marc1706/ticket/14949
[ticket/14949] Pass full notification array and post data for updating
-rw-r--r-- | phpBB/phpbb/notification/type/post.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/type/post.php b/phpBB/phpbb/notification/type/post.php index b9afc6d70a..03221e7c7a 100644 --- a/phpBB/phpbb/notification/type/post.php +++ b/phpBB/phpbb/notification/type/post.php @@ -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; } } |