Skip to content

Commit

Permalink
messaging MDL-22320 Fixed a typo causing undefined variable notice
Browse files Browse the repository at this point in the history
  • Loading branch information
moodler committed Jun 29, 2010
1 parent 1291a79 commit 65fbace
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions message/lib.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down Expand Up @@ -1684,4 +1684,4 @@ function message_mark_messages_read($destuserid, $fromuserid){
}
}
}
}
}

0 comments on commit 65fbace

Please sign in to comment.