diff options
Diffstat (limited to 'bin')
-rw-r--r-- | bin/quotaimg.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/quotaimg.php b/bin/quotaimg.php index 354f4ebdb..97c8b8630 100644 --- a/bin/quotaimg.php +++ b/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; |