Skip to content

Commit

Permalink
Merge branch 'wip-mdl-42754' of https://github.com/rajeshtaneja/moodle
Browse files Browse the repository at this point in the history
  • Loading branch information
Damyon Wiese committed Nov 11, 2013
2 parents 16fafb9 + be98b18 commit 2d76404
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion message/lib.php
Expand Up @@ -386,7 +386,7 @@ function message_get_contacts($user1=null, $user2=null) {
}
$noreplyuser = core_user::get_noreply_user();
$noreplyuser->messagecount = message_count_unread_messages($USER, $noreplyuser);
if ($supportuser->messagecount > 0) {
if ($noreplyuser->messagecount > 0) {
$strangers[] = $noreplyuser;
}
return array($onlinecontacts, $offlinecontacts, $strangers);
Expand Down

0 comments on commit 2d76404

Please sign in to comment.