From 23a2eec4d540b5f971ed6377e7ad776456ee0633 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Mon, 04 May 2009 04:31:55 -0400 Subject: [PATCH] - ereg -> preg --- bin/quotaimg.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/quotaimg.php b/bin/quotaimg.php index fc3997a..817d385 100644 --- a/bin/quotaimg.php +++ b/bin/quotaimg.php @@ -102,7 +102,7 @@ ***********************************/ // @todo: Set to "??" instead? - if (ereg("^[^0-9?]*$", $used) || ereg("^[^0-9?]*$", $total)) { + if (preg_match('/^[^0-9?]*$/', $used) || preg_match('/^[^0-9?]*$/', $total)) { return false; } -- Gitblit v1.9.1