From: moodler Date: Mon, 5 Mar 2007 04:47:49 +0000 (+0000) Subject: Merged small notice fix from stable X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e6f5c879bf7cbfc57fad573eb6e5e0f96e64175d;p=moodle.git Merged small notice fix from stable --- diff --git a/lib/moodlelib.php b/lib/moodlelib.php index 240082895f..8e9713c687 100644 --- a/lib/moodlelib.php +++ b/lib/moodlelib.php @@ -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; }