diff options
author | Zoddo <zoddo.ino@gmail.com> | 2015-09-13 22:13:02 +0200 |
---|---|---|
committer | Zoddo <zoddo.ino@gmail.com> | 2015-09-13 22:13:02 +0200 |
commit | e9013db9b9b392199eb7728ba87afc0bdbdce6f5 (patch) | |
tree | c2e9efe325d85c99807c71edcfa442b1ff89c746 /phpBB | |
parent | 797e70380b2ec058b657419f099fa529713c4ab2 (diff) | |
download | forums-e9013db9b9b392199eb7728ba87afc0bdbdce6f5.tar forums-e9013db9b9b392199eb7728ba87afc0bdbdce6f5.tar.gz forums-e9013db9b9b392199eb7728ba87afc0bdbdce6f5.tar.bz2 forums-e9013db9b9b392199eb7728ba87afc0bdbdce6f5.tar.xz forums-e9013db9b9b392199eb7728ba87afc0bdbdce6f5.zip |
[ticket/14078] Fix SQL error when editing a post with a quote
PHPBB3-14078
Diffstat (limited to 'phpBB')
-rw-r--r-- | phpBB/phpbb/notification/type/quote.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/phpbb/notification/type/quote.php b/phpBB/phpbb/notification/type/quote.php index 57f77bba83..1cd879579a 100644 --- a/phpBB/phpbb/notification/type/quote.php +++ b/phpBB/phpbb/notification/type/quote.php @@ -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(); |