Merged small notice fix from stable
This commit is contained in:
+1
-1
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user