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:
commit
f423c2803a
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user