mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Fixed a small notice
This commit is contained in:
parent
1235148f9f
commit
a8d101b5c4
1 changed files with 1 additions and 1 deletions
|
@ -3254,7 +3254,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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue