mirror of
https://github.com/moodle/moodle.git
synced 2025-08-04 08:26:37 +02:00
messaging MDL-22320 Fixed a typo causing undefined variable notice
This commit is contained in:
parent
1291a79fd7
commit
65fbace7f0
1 changed files with 2 additions and 2 deletions
|
@ -359,7 +359,7 @@ function message_print_contacts($onlinecontacts, $offlinecontacts, $strangers, $
|
||||||
echo '</td></tr>';
|
echo '</td></tr>';
|
||||||
|
|
||||||
foreach ($strangers as $stranger) {
|
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);
|
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…
Add table
Add a link
Reference in a new issue