PHP 7.0 compatibility (short tags replaced by normal)
This commit is contained in:
@@ -50,7 +50,7 @@ function input_clean(&$input, &$dbobj, $opts = null)
|
||||
$input = $dbobj->real_escape_string($input);
|
||||
}
|
||||
|
||||
function post_clean($key, &$dbobj, $opts)
|
||||
function post_clean($key, &$dbobj, $opts = null)
|
||||
{
|
||||
input_clean($_POST[$key], $dbobj, $opts);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user