mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-21 02:38:52 +00: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:
commit
3303ce511f
1 changed files with 1 additions and 1 deletions
|
@ -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();
|
||||
|
|
Loading…
Add table
Reference in a new issue