mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 20:42:22 +02:00
MDL-57782 enrol_self: fix check when email needs to be sent
Thanks to Leandro for providing a fix
This commit is contained in:
parent
e7059ec5e2
commit
bbf401bec6
@ -173,7 +173,7 @@ class enrol_self_plugin extends enrol_plugin {
|
||||
}
|
||||
}
|
||||
// Send welcome message.
|
||||
if ($instance->customint4 !== ENROL_DO_NOT_SEND_EMAIL) {
|
||||
if ($instance->customint4 != ENROL_DO_NOT_SEND_EMAIL) {
|
||||
$this->email_welcome_message($instance, $USER);
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user