From: scyrma Date: Fri, 5 Sep 2008 02:57:19 +0000 (+0000) Subject: MDL-14589: comment correction. X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=e1dcb950fe6e4f424d1b2d31efcbdbaed5afb3db;p=moodle.git MDL-14589: comment correction. --- 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'); }