projectestac / marsupial

Moodle implementation of the Marsupial protocol to let authenticated access to external contents. It's developed by the Ministry of Education of the Government of Catalonia
4 stars 11 forks source link

Syntax PHP error #2

Closed avepalma closed 10 years ago

avepalma commented 10 years ago

There is a syntax error on line 57 of marsupial/moodle/moodle2/mod/rcontent/report.php file

$contextmodule = context_module::instance(,$cm->id);

Unexpected comma. It makes Moodle shows a white page, instead the activity report.

In a previous release of the file, the CONTEXT_MODULE constant was there. It seems it was accidentally deleted.

$contextmodule = context_module::instance(CONTEXT_MODULE,$cm->id);

Thanks!

crazyserver commented 10 years ago

Thanks for your notification, Issue solved on git HEAD