Merged small notice fix from stable

This commit is contained in:
moodler
2007-03-05 04:47:49 +00:00
parent f4e53a4636
commit e6f5c879bf
+1 -1
View File
@@ -3276,7 +3276,7 @@ function email_to_user($user, $from, $subject, $messagetext, $messagehtml='', $a
}
// skip mail to suspended users
if ($user->auth=='nologin') {
if (isset($user->auth) && $user->auth=='nologin') {
return true;
}