preg_match missing argument

This commit is contained in:
Edoardo Vacchi 2013-11-26 23:20:26 +01:00
parent 9b5b77742d
commit 5b99bfef25

View File

@ -34,7 +34,7 @@
} }
function static_isvalid($id) { function static_isvalid($id) {
return !preg_match('[^./\\\\]+'); return !preg_match('[^./\\\\]+', $id);
} }