From 5b99bfef255ac03c48edd049e55db869dcbb6908 Mon Sep 17 00:00:00 2001 From: Edoardo Vacchi Date: Tue, 26 Nov 2013 23:20:26 +0100 Subject: [PATCH] preg_match missing argument --- fp-includes/core/core.static.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fp-includes/core/core.static.php b/fp-includes/core/core.static.php index 6a6a769..4824963 100755 --- a/fp-includes/core/core.static.php +++ b/fp-includes/core/core.static.php @@ -34,7 +34,7 @@ } function static_isvalid($id) { - return !preg_match('[^./\\\\]+'); + return !preg_match('[^./\\\\]+', $id); }