aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB
diff options
context:
space:
mode:
authorZoddo <zoddo.ino@gmail.com>2015-09-13 22:13:02 +0200
committerZoddo <zoddo.ino@gmail.com>2015-09-13 22:13:02 +0200
commite9013db9b9b392199eb7728ba87afc0bdbdce6f5 (patch)
treec2e9efe325d85c99807c71edcfa442b1ff89c746 /phpBB
parent797e70380b2ec058b657419f099fa529713c4ab2 (diff)
downloadforums-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.php2
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();