diff options
-rwxr-xr-x | esim_workshop_form.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/esim_workshop_form.module b/esim_workshop_form.module index 141902d..07b9bf0 100755 --- a/esim_workshop_form.module +++ b/esim_workshop_form.module @@ -188,7 +188,7 @@ function esim_workshop_file_path() function workshop_project_file_check_valid_filename($file_name) { - if (!preg_match('/^[0-9]{4}/', $file_name)) + if (!preg_match('/^[0-9]{4}$/', $file_name)) return FALSE; else if (substr_count($file_name, ".") > 1) return FALSE; |