summaryrefslogtreecommitdiffstats
path: root/usr/local/www/exec.php
diff options
context:
space:
mode:
authorccesario <carloscesario@gmail.com>2012-07-01 19:38:53 -0300
committerccesario <carloscesario@gmail.com>2012-07-01 19:38:53 -0300
commit4afb7d66b42b82e4b888d675ed8ae72bbcd2041f (patch)
treeb9fe5fd0e5c6b0de7518c4e01b6679a2aecf16e8 /usr/local/www/exec.php
parentaff670f655be6858acc84f977cd2e081a091b74b (diff)
downloadpfsense-4afb7d66b42b82e4b888d675ed8ae72bbcd2041f.zip
pfsense-4afb7d66b42b82e4b888d675ed8ae72bbcd2041f.tar.gz
Change ereg() to preg_match() function
Diffstat (limited to 'usr/local/www/exec.php')
-rwxr-xr-xusr/local/www/exec.php2
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
OpenPOWER on IntegriCloud