[-] BO : filename should be allowed to be empty #PSCFV-3592

This commit is contained in:
dMetzger committed 2012-08-10 12:24:18 +00:00
1 parent 5cf21dfa51
commit 393b15665b
1 file changed
+1 -1
+1 -1
View File
@@ -761,7 +761,7 @@ class ValidateCore
*/ */
public static function isFileName($name) public static function isFileName($name)
{ {
return preg_match('/^[a-zA-Z0-9_.-]*$/', $name); return preg_match('/^[a-zA-Z0-9_.-]+$/', $name);
} }
/** /**