Fixed a small notice

This commit is contained in:
moodler 2007-03-05 04:46:29 +00:00
parent 1235148f9f
commit a8d101b5c4

View file

@ -3254,7 +3254,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml='', $a
} }
// skip mail to suspended users // skip mail to suspended users
if ($user->auth=='nologin') { if (isset($user->auth) && $user->auth=='nologin') {
return true; return true;
} }