Index: branches/5.2.x/core/units/general/libchart/classes/view/primitive/Primitive.php =================================================================== diff -u -N -r15706 -r16666 --- branches/5.2.x/core/units/general/libchart/classes/view/primitive/Primitive.php (.../Primitive.php) (revision 15706) +++ branches/5.2.x/core/units/general/libchart/classes/view/primitive/Primitive.php (.../Primitive.php) (revision 16666) @@ -32,7 +32,7 @@ * * @param resource GD image resource */ - public function LibchartPrimitive($img) { + public function __construct($img) { $this->img = $img; } @@ -68,4 +68,4 @@ imagerectangle($this->img, $x2 - 1, $y2 - 1, $x2, $y2, $color1->getColor($this->img)); } - } \ No newline at end of file + }