From a22cb65adbde7e7b101d2c950b617eaec6f5c790 Mon Sep 17 00:00:00 2001 From: alecpl <alec@alec.pl> Date: Tue, 07 Oct 2008 12:54:07 -0400 Subject: [PATCH] - Write username instead of id in sendmail log (#1485477) --- bin/quotaimg.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/bin/quotaimg.php b/bin/quotaimg.php index 354f4eb..97c8b86 100644 --- a/bin/quotaimg.php +++ b/bin/quotaimg.php @@ -159,7 +159,7 @@ } $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; -- Gitblit v1.9.1