Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Won't Fix
-
1.9, 2.0
-
None
-
None
-
MOODLE_19_STABLE, MOODLE_20_STABLE
Description
edit_entry_handler uses the $returl variable; however, there is no optional or require param at the beginning of the file so it is undefined and seems to cause a server 500 error on some setups. I think the solution is to add:
$returl = optional_param('returl',NULL, PARAM_LOCALURL);
toward the beginning of the file and then all should work well.
Thanks to Don Agahari for bringing this issue to my attention. Peace - Anthony
p.s. affects both 1.9 and HEAD versions