-
Bug
-
Resolution: Fixed
-
Minor
-
2.6.4
-
MOODLE_26_STABLE
-
MOODLE_28_STABLE
-
MDL-46447_rating_json -
In rate.php if the user doesn't have the required capabilities JSON data is returned. Most likely we should be calling print_error() or similar. It appears to have been copy pasted from rate_ajax.php and hasn't been noticed as theoretically it should never happen during legitimate use.