Merge branch 'wip-MDL-57782-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
Dan Poltawski 2017-01-30 10:08:26 +00:00
commit 010e22169b

View File

@ -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);
}
}