2
0
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:
Adam Zammit
2013-03-27 10:51:09 +11:00
parent 9b5ed20422
commit c3e5570444
3 changed files with 3 additions and 3 deletions

View File

@@ -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