aboutsummaryrefslogtreecommitdiff
path: root/engine/lib/notification.php
diff options
context:
space:
mode:
Diffstat (limited to 'engine/lib/notification.php')
-rw-r--r--engine/lib/notification.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/engine/lib/notification.php b/engine/lib/notification.php
index 4a5ca5051..c12cf65ce 100644
--- a/engine/lib/notification.php
+++ b/engine/lib/notification.php
@@ -396,6 +396,7 @@
foreach($interested_users as $user) {
if ($user instanceof ElggUser) {
+ if (!$user->isBanned())
if (($user->guid != $SESSION['user']->guid) && has_access_to_entity($object,$user)
&& $object->access_id != ACCESS_PRIVATE) {