Index: branches/5.2.x/core/units/general/libchart/classes/view/color/Color.php =================================================================== diff -u -N -r15706 -r16666 --- branches/5.2.x/core/units/general/libchart/classes/view/color/Color.php (.../Color.php) (revision 15706) +++ branches/5.2.x/core/units/general/libchart/classes/view/color/Color.php (.../Color.php) (revision 16666) @@ -39,7 +39,7 @@ * @param integer blue [0..255] * @param integer alpha [0..255] */ - public function LibchartColor($red, $green, $blue, $alpha = 0) { + public function __construct($red, $green, $blue, $alpha = 0) { $this->red = (int) $red; $this->green = (int) $green; $this->blue = (int) $blue; @@ -97,4 +97,4 @@ return $shadowColor; } - } \ No newline at end of file + }