From d2857fa5443a904a49075a9d5df3cd50c20e4ad2 Mon Sep 17 00:00:00 2001 From: alec Date: Fri, 12 Sep 2008 16:48:23 +0000 Subject: - Fixed quota img height/width setting from template (#1484857) git-svn-id: https://svn.roundcube.net/trunk@1776 208e9e7b-5314-0410-a742-e7e81cd9613c --- roundcubemail/bin/quotaimg.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roundcubemail/bin') 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; -- cgit v1.2.3