fixed some small bugs

This commit is contained in:
gustav_delius 2004-12-31 20:02:45 +00:00
parent 84b3c159df
commit 444f6252dd
3 changed files with 16 additions and 11 deletions

View file

@ -116,7 +116,7 @@
case 'edit': /// Print the bottom frame with the text editor
/// Check that the user is not blocking us!!
if ($contact = get_record('message_contacts', 'userid', $user->id, 'contact', $USER->id)) {
if ($contact = get_record('message_contacts', 'userid', $user->id, 'contactid', $USER->id)) {
if ($contact->blocked) {
print_heading(get_string('userisblockingyou', 'message'));
exit;