From 6ab62a4e0ae3f6aab6717806f028c89f475e1d7a Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 25 Oct 2009 11:13:01 +0000 Subject: [PATCH] Fix: syntax error --- htdocs/html.formfile.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/html.formfile.class.php b/htdocs/html.formfile.class.php index 2ea85357066..2eb752bad28 100644 --- a/htdocs/html.formfile.class.php +++ b/htdocs/html.formfile.class.php @@ -446,7 +446,7 @@ class FormFile && $file['name'] != '.' && $file['name'] != '..' && $file['name'] != 'CVS' - && ! preg_math('/\.meta$/i',$file['name'])) + && ! preg_match('/\.meta$/i',$file['name'])) { // Define relative path used to store the file if (! $relativepath)