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