Skip to content

Commit

Permalink
Update message.php
Browse files Browse the repository at this point in the history
  • Loading branch information
eshiol committed Aug 13, 2019
1 parent d577adf commit 21f7589
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions administrator/components/com_messages/models/message.php
Expand Up @@ -466,6 +466,7 @@ public function notifySuperUsers($subject, $message, $fromUser = null)
->select($db->quoteName('user_id'))
->from($db->quoteName('#__user_usergroup_map'))
->where($db->quoteName('group_id') . ' IN(' . implode(',', $groups) . ')')
->where($db->quoteName('sendEmail') . ' = 1')
->where($db->quoteName('block') . ' = 0');

$userIDs = $db->setQuery($query)->loadColumn(0);
Expand Down

0 comments on commit 21f7589

Please sign in to comment.