summaryrefslogtreecommitdiff
path: root/roundcubemail/bin
diff options
context:
space:
mode:
authoralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-12 16:48:23 +0000
committeralec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c>2008-09-12 16:48:23 +0000
commitd2857fa5443a904a49075a9d5df3cd50c20e4ad2 (patch)
tree64749cf1050c15ac3836c1d11e06df52443bb3e5 /roundcubemail/bin
parent8aafb85c8c07c67dd1ba3cfb7002456e12a522a0 (diff)
- Fixed quota img height/width setting from template (#1484857)
git-svn-id: https://svn.roundcube.net/trunk@1776 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/bin')
-rw-r--r--roundcubemail/bin/quotaimg.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/bin/quotaimg.php b/roundcubemail/bin/quotaimg.php
index 354f4ebdb..97c8b8630 100644
--- a/roundcubemail/bin/quotaimg.php
+++ b/roundcubemail/bin/quotaimg.php
@@ -159,7 +159,7 @@ function genQuota($used, $total, $width, $height)
}
$quota_width = $quota / 100 * $width;
- imagefilledrectangle($im, $border, 0, $quota, $height-2*$border, $fill);
+ imagefilledrectangle($im, $border, 0, $quota_width, $height-2*$border, $fill);
$string = $quota . '%';
$mid = floor(($width-(strlen($string)*imagefontwidth($font)))/2)+1;