Details
-
Bug
-
Status: Closed
-
Trivial
-
Resolution: Fixed
-
2.0.4, 2.1.1, 2.2
-
MOODLE_20_STABLE, MOODLE_21_STABLE, MOODLE_22_STABLE
-
MOODLE_20_STABLE, MOODLE_21_STABLE
-
w33_
MDL-28981_m22_canpost -
Easy
-
Description
I was doing some testing with messaging and when I called forum_make_mail_html() then forum_user_can_post() complained about the $cm and $course not being passed (debug messages). Easy fix, just pass both of those from forum_make_mail_html(), should also help with performance (big win here since these are called on the cron).