summaryrefslogtreecommitdiff
path: root/bin/quotaimg.php
diff options
context:
space:
mode:
authoralecpl <alec@alec.pl>2009-05-04 08:31:55 +0000
committeralecpl <alec@alec.pl>2009-05-04 08:31:55 +0000
commit23a2eec4d540b5f971ed6377e7ad776456ee0633 (patch)
tree34081a5830cb6c2c843dbf3b873bf2643400c134 /bin/quotaimg.php
parentdb5abc6c211d78ad80b716ddef11eabe5e32f137 (diff)
- ereg -> preg
Diffstat (limited to 'bin/quotaimg.php')
-rw-r--r--bin/quotaimg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/quotaimg.php b/bin/quotaimg.php
index fc3997a39..817d38590 100644
--- a/bin/quotaimg.php
+++ b/bin/quotaimg.php
@@ -102,7 +102,7 @@ function genQuota($used, $total, $width, $height)
***********************************/
// @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;
}