MDL-14589: comment correction.
This commit is contained in:
@@ -462,7 +462,7 @@ class file_storage {
|
||||
|
||||
$file_record->filename = clean_param($file_record->filename, PARAM_FILE);
|
||||
if ($file_record->filename === '') {
|
||||
// path must start and end with '/'
|
||||
// filename must not be empty
|
||||
throw new file_exception('storedfileproblem', 'Invalid file name');
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user