Details
-
Type:
Bug
-
Status: Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 2.7.1
-
Component/s: Web Services
-
Testing Instructions:
-
Affected Branches:MOODLE_27_STABLE
-
Fixed Branches:MOODLE_26_STABLE, MOODLE_27_STABLE
-
Pull from Repository:
-
Pull Master Branch:
MDL-46587-master -
Pull Master Diff URL:
Description
$itemid can be legitimately 0 in some cases (like user private files area) the current core_files_get_files external function assign "null" to that value in case if empty
This makes that this function can't be used to retrieve user private area files
Attachments
Issue Links
- blocks
-
MDL-46588 Invalid check of empty contextid in function get_context_from_params
-
- Closed
-