mirror of
https://github.com/ACSPRI/queXS
synced 2024-04-02 12:12:16 +00:00
Removed deprecated ereg_replace
This commit is contained in:
@@ -44,7 +44,7 @@ include_once(dirname(__FILE__).'/../config.inc.php');
|
||||
*/
|
||||
function bigintval($val)
|
||||
{
|
||||
$r = ereg_replace('[^0-9]*','',$val);
|
||||
$r = preg_replace("/[^0-9]/", "",$val);
|
||||
if (empty($r))
|
||||
return 0;
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user