mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 14:00:31 +02:00
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:
@@ -117,7 +117,7 @@ class quote extends \phpbb\notification\type\post
|
||||
$notifications = array_keys($this->find_users_for_notification($post));
|
||||
|
||||
// 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
|
||||
$add_notifications = array();
|
||||
|
Reference in New Issue
Block a user