-
Bug
-
Resolution: Fixed
-
Minor
-
3.11.6
-
MOODLE_311_STABLE
-
MOODLE_311_STABLE
-
MDL-74307-master -
-
1
-
QA time
This issue was spotted while testing MDLQA-16531.
For instance when the user had enabled H5P activity and is executing step 6
"Go back to 'Search areas' and disable the search area for the activity."
When user disables H5P activity in searcharea.php the $areaid receives trimmed value. Meaning instead of 'mod_h5pactivity' it gets 'mod_hpactivity' this is causing exception at:
$area = \core_search\manager::get_search_area($areaid);
If we use type for optional_param as PARAM_ALPHANUMEXT then it would be better and no exception would be thrown.
- blocks
-
MDLQA-16531 CLONE - An admin can enable / disable global search areas
- Passed
- has a non-specific relationship to
-
MDL-78386 /admin/searchreindex.php requires PARAM_ALPHAEXT
- Closed