aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2017-01-05 23:39:30 +0100
committerMarc Alexander <admin@m-a-styles.de>2017-01-05 23:39:30 +0100
commit0a68593dd2ac015749e22aae015e5b22ba460c82 (patch)
treeba8e21c5b5bb7ea17b11d3954ab712ec10e501db
parent0c6c94e527fca6edc0d79430088142f4828610e4 (diff)
downloadforums-0a68593dd2ac015749e22aae015e5b22ba460c82.tar
forums-0a68593dd2ac015749e22aae015e5b22ba460c82.tar.gz
forums-0a68593dd2ac015749e22aae015e5b22ba460c82.tar.bz2
forums-0a68593dd2ac015749e22aae015e5b22ba460c82.tar.xz
forums-0a68593dd2ac015749e22aae015e5b22ba460c82.zip
[ticket/14949] Pass full notification array and post data for updating
PHPBB3-14949
-rw-r--r--phpBB/phpbb/notification/type/post.php8
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;
}
}