mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-15 14:16:28 +02: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:
@ -456,6 +456,12 @@ class post extends \phpbb\notification\type\base
|
|||||||
return array();
|
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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user