messaging MDL-22320 Fixed a typo causing undefined variable notice

This commit is contained in:
Martin Dougiamas 2010-06-29 14:57:45 +00:00
parent 1291a79fd7
commit 65fbace7f0

View File

@ -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){
}
}
}
}
}