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 14, 2019
1 parent 6bb4a7d commit aa3cedc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_messages/models/message.php
Expand Up @@ -463,7 +463,7 @@ public function notifySuperUsers($subject, $message, $fromUser = null)
}

$query = $db->getQuery(true)
->select($db->quoteName('user_id'))
->select($db->quoteName('map.user_id'))
->from($db->quoteName('#__user_usergroup_map', 'map'))
->join('LEFT', $db->quoteName('#__users', 'u') . ' ON ' . $db->quoteName('u.id') . ' = ' . $db->quoteName('map.user_id'))
->where($db->quoteName('map.group_id') . ' IN(' . implode(',', $groups) . ')')
Expand Down

0 comments on commit aa3cedc

Please sign in to comment.