mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Change ereg() to preg_match() function
This commit is contained in:
parent
aff670f655
commit
4afb7d66b4
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user