diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-04 08:31:55 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2009-05-04 08:31:55 +0000 |
| commit | 7a21b982f837592a19747189925b8d402e4059cc (patch) | |
| tree | 3dcfd43205ba4bc1c9947b42d8446e61b3d56f97 /roundcubemail/bin | |
| parent | a4e2b2d1cf9be820bd3dbb7bb90cb88cd6fd7834 (diff) | |
- ereg -> preg
git-svn-id: https://svn.roundcube.net/trunk@2453 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/bin')
| -rw-r--r-- | roundcubemail/bin/quotaimg.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/bin/quotaimg.php b/roundcubemail/bin/quotaimg.php index fc3997a39..817d38590 100644 --- a/roundcubemail/bin/quotaimg.php +++ b/roundcubemail/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; } |
