diff --git a/message/user.php b/message/user.php index f221b9c1953..181051e6afc 100644 --- a/message/user.php +++ b/message/user.php @@ -194,7 +194,7 @@ /// Check that the user is not blocking us!! if ($contact = get_record('message_contacts', 'userid', $user->id, 'contactid', $USER->id)) { - if ($contact->blocked) { + if ($contact->blocked and !isadmin()) { print_heading(get_string('userisblockingyou', 'message')); exit; }