mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 08:56:36 +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
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue