diff options
author | ccesario <carloscesario@gmail.com> | 2012-07-01 19:38:53 -0300 |
---|---|---|
committer | ccesario <carloscesario@gmail.com> | 2012-07-01 19:38:53 -0300 |
commit | 4afb7d66b42b82e4b888d675ed8ae72bbcd2041f (patch) | |
tree | b9fe5fd0e5c6b0de7518c4e01b6679a2aecf16e8 /usr | |
parent | aff670f655be6858acc84f977cd2e081a091b74b (diff) | |
download | pfsense-4afb7d66b42b82e4b888d675ed8ae72bbcd2041f.zip pfsense-4afb7d66b42b82e4b888d675ed8ae72bbcd2041f.tar.gz |
Change ereg() to preg_match() function
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/exec.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/exec.php b/usr/local/www/exec.php index 5bd7f30..4342c1d 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 |