Index: color.module =================================================================== --- color.module (revision 720) +++ color.module (working copy) @@ -370,7 +370,7 @@ // Render gradient. for ($y = 0; $y < $info['gradient'][3]; ++$y) { $color = _color_blend($target, $palette['top'], $palette['bottom'], $y / ($info['gradient'][3] - 1)); - imagefilledrectangle($target, $info['gradient'][0], $info['gradient'][1] + $y, $info['gradient'][2], $info['gradient'][1] + $y + 1, $color); + imagefilledrectangle($target, $info['gradient'][0], $info['gradient'][1] + $y, $info['gradient'][0] + $info['gradient'][2], $info['gradient'][1] + $y + 1, $color); } // Blend over template.