aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2015-09-14 12:45:12 +0200
committerMarc Alexander <admin@m-a-styles.de>2015-09-14 12:45:12 +0200
commit3303ce511f44a26f35db4c290dad519397efb11a (patch)
treec2e9efe325d85c99807c71edcfa442b1ff89c746
parent797e70380b2ec058b657419f099fa529713c4ab2 (diff)
parente9013db9b9b392199eb7728ba87afc0bdbdce6f5 (diff)
downloadforums-3303ce511f44a26f35db4c290dad519397efb11a.tar
forums-3303ce511f44a26f35db4c290dad519397efb11a.tar.gz
forums-3303ce511f44a26f35db4c290dad519397efb11a.tar.bz2
forums-3303ce511f44a26f35db4c290dad519397efb11a.tar.xz
forums-3303ce511f44a26f35db4c290dad519397efb11a.zip
Merge pull request #3905 from Zoddo/ticket/14078
[ticket/14078] Fix SQL error when editing a post with a quote
-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();