mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 16:32:18 +02:00
messaging MDL-22320 Fixed a typo causing undefined variable notice
This commit is contained in:
parent
1291a79fd7
commit
65fbace7f0
@ -359,7 +359,7 @@ function message_print_contacts($onlinecontacts, $offlinecontacts, $strangers, $
|
||||
echo '</td></tr>';
|
||||
|
||||
foreach ($strangers as $stranger) {
|
||||
if ($minmessages==0 || $contact->messagecount>=$minmessages) {
|
||||
if ($minmessages==0 || $stranger->messagecount>=$minmessages) {
|
||||
message_print_contactlist_user($stranger, IS_NOT_CONTACT, IS_NOT_BLOCKED, $contactselecturl, $showactionlinks);
|
||||
}
|
||||
}
|
||||
@ -1684,4 +1684,4 @@ function message_mark_messages_read($destuserid, $fromuserid){
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user