Send courseid to print_textarea() just because we know it. (wasn't being properly guessed sometimes)
Send courseid to print_textarea() just because we know it.
(wasn't being properly guessed sometimes)

Merged from MOODLE_18_STABLE

dilawar/moodle