Merge pull request #3905 from Zoddo/ticket/14078

[ticket/14078] Fix SQL error when editing a post with a quote
This commit is contained in:
Marc Alexander 2015-09-14 12:45:12 +02:00
commit 3303ce511f

View file

@ -117,7 +117,7 @@ class quote extends \phpbb\notification\type\post
$notifications = array_keys($this->find_users_for_notification($post)); $notifications = array_keys($this->find_users_for_notification($post));
// Find the notifications we must delete // Find the notifications we must delete
$remove_notifications = array_diff($old_notifications, array_keys($notifications)); $remove_notifications = array_diff(array_keys($old_notifications), array_keys($notifications));
// Find the notifications we must add // Find the notifications we must add
$add_notifications = array(); $add_notifications = array();