diff options
author | Marc Alexander <admin@m-a-styles.de> | 2015-09-14 12:45:12 +0200 |
---|---|---|
committer | Marc Alexander <admin@m-a-styles.de> | 2015-09-14 12:45:12 +0200 |
commit | 3303ce511f44a26f35db4c290dad519397efb11a (patch) | |
tree | c2e9efe325d85c99807c71edcfa442b1ff89c746 | |
parent | 797e70380b2ec058b657419f099fa529713c4ab2 (diff) | |
parent | e9013db9b9b392199eb7728ba87afc0bdbdce6f5 (diff) | |
download | forums-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.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(); |