aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/phpbb/notification
diff options
context:
space:
mode:
authorMarc Alexander <admin@m-a-styles.de>2016-03-30 21:03:06 +0200
committerMarc Alexander <admin@m-a-styles.de>2016-03-30 21:03:06 +0200
commitdfc2168d3169493df62344d94fa4b1fbdc6bb698 (patch)
tree44b3241da71cf9636a692aec943017ebb6d8f589 /phpBB/phpbb/notification
parent2387fdd5995e4508b59ea04be75414d3e167a889 (diff)
parenta643d04b05b33cfaee3d238e885dc6d1bca2e6c9 (diff)
downloadforums-dfc2168d3169493df62344d94fa4b1fbdc6bb698.tar
forums-dfc2168d3169493df62344d94fa4b1fbdc6bb698.tar.gz
forums-dfc2168d3169493df62344d94fa4b1fbdc6bb698.tar.bz2
forums-dfc2168d3169493df62344d94fa4b1fbdc6bb698.tar.xz
forums-dfc2168d3169493df62344d94fa4b1fbdc6bb698.zip
Merge pull request #4267 from GregRyckman/ticket/14572
[ticket/14572] Fix quote notification deletion
Diffstat (limited to 'phpBB/phpbb/notification')
-rw-r--r--phpBB/phpbb/notification/type/quote.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/phpBB/phpbb/notification/type/quote.php b/phpBB/phpbb/notification/type/quote.php
index 684463c8c3..323c18b204 100644
--- a/phpBB/phpbb/notification/type/quote.php
+++ b/phpBB/phpbb/notification/type/quote.php
@@ -115,14 +115,14 @@ class quote extends \phpbb\notification\type\post
));
// Find the new users to notify
- $notifications = array_keys($this->find_users_for_notification($post));
+ $notifications = $this->find_users_for_notification($post);
// Find the notifications we must delete
$remove_notifications = array_diff(array_keys($old_notifications), array_keys($notifications));
// Find the notifications we must add
$add_notifications = array();
- foreach (array_diff(array_keys($notifications), $old_notifications) as $user_id)
+ foreach (array_diff(array_keys($notifications), array_keys($old_notifications)) as $user_id)
{
$add_notifications[$user_id] = $notifications[$user_id];
}