MDL-14589: comment correction.

This commit is contained in:
scyrma
2008-09-05 02:57:19 +00:00
parent f15cfa08c1
commit e1dcb950fe
+1 -1
View File
@@ -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');
}