From e1dcb950fe6e4f424d1b2d31efcbdbaed5afb3db Mon Sep 17 00:00:00 2001 From: scyrma Date: Fri, 5 Sep 2008 02:57:19 +0000 Subject: [PATCH] MDL-14589: comment correction. --- lib/file/file_storage.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/file/file_storage.php b/lib/file/file_storage.php index bc243c357b..03663e11d9 100644 --- a/lib/file/file_storage.php +++ b/lib/file/file_storage.php @@ -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'); } -- 2.39.5