-
Bug
-
Resolution: Fixed
-
Minor
-
1.9.1
-
None
-
MOODLE_19_STABLE
-
MOODLE_17_STABLE, MOODLE_18_STABLE, MOODLE_19_STABLE
Copied from this discussion - http://moodle.org/mod/forum/discuss.php?d=106627:
"The option for send notified mail to users doesn't work with the version 1.4.
The reason is the following line of block_email_list.php script:
if ( $preferences->trackbymail === 1 and $CFG->email_trackbymail == 1 ) {
The function var_dump show that " $preferences->trackbymail" is string(1) type. So, the condition is false and the warnings to the user's email address are not send."
I've verified that changing the above line to the following results in correct email alerts when the preference is set -
if ( $preferences->trackbymail == 1 and $CFG->email_trackbymail == 1 ) {