mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 12:32:08 +02:00
MDL-46587 files: Invalid $itemid conversion in core_files_get_files Web Service
This commit is contained in:
parent
457f818026
commit
ff831a44ed
@ -112,9 +112,6 @@ class core_files_external extends external_api {
|
||||
if (empty($fileinfo['filearea'])) {
|
||||
$fileinfo['filearea'] = null;
|
||||
}
|
||||
if (empty($fileinfo['itemid'])) {
|
||||
$fileinfo['itemid'] = null;
|
||||
}
|
||||
if (empty($fileinfo['filename'])) {
|
||||
$fileinfo['filename'] = null;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user