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

@@ -50,7 +50,7 @@ include_once(dirname(__FILE__).'/../db.inc.php');
*/
function only_numbers($str)
{
return ereg_replace('[^0-9]*','',$str);
return preg_replace("/[^0-9]/", "",$str);
}