Index: branches/5.2.x/core/units/general/libchart/classes/view/primitive/Rectangle.php =================================================================== diff -u -r15706 -r16666 --- branches/5.2.x/core/units/general/libchart/classes/view/primitive/Rectangle.php (.../Rectangle.php) (revision 15706) +++ branches/5.2.x/core/units/general/libchart/classes/view/primitive/Rectangle.php (.../Rectangle.php) (revision 16666) @@ -51,7 +51,7 @@ * * @param resource GD image resource */ - public function LibchartRectangle($x1, $y1, $x2, $y2) { + public function __construct($x1, $y1, $x2, $y2) { $this->x1 = $x1; $this->y1 = $y1; $this->x2 = $x2; @@ -74,4 +74,4 @@ //echo "(" . $this->x1 . "," . $this->y1 . ") (" . $this->x2 . "," . $this->y2 . ")
"; return $rectangle; } - } \ No newline at end of file + }