From 4afb7d66b42b82e4b888d675ed8ae72bbcd2041f Mon Sep 17 00:00:00 2001 From: ccesario Date: Sun, 1 Jul 2012 19:38:53 -0300 Subject: [PATCH] Change ereg() to preg_match() function --- usr/local/www/exec.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php index 5bd7f30dad..4342c1d69d 100755 --- a/usr/local/www/exec.php +++ b/usr/local/www/exec.php @@ -71,7 +71,7 @@ if($_POST) // Function: is Blank // Returns true or false depending on blankness of argument. -function isBlank( $arg ) { return ereg( "^\s*$", $arg ); } +function isBlank( $arg ) { return preg_match( "/^\s*$/", $arg ); } // Function: Puts