diff --git a/core/graphviz_api.php b/core/graphviz_api.php index c3117bcd83..1ee585a1bd 100644 --- a/core/graphviz_api.php +++ b/core/graphviz_api.php @@ -462,8 +462,8 @@ class Digraph extends Graph { * @param array $p_attributes Attributes. * @param string $p_tool Graphviz tool. */ - function Digraph( $p_name = 'G', array $p_attributes = array(), $p_tool = 'dot' ) { - parent::Graph( $p_name, $p_attributes, $p_tool ); + function __construct( $p_name = 'G', array $p_attributes = array(), $p_tool = 'dot' ) { + parent::__construct( $p_name, $p_attributes, $p_tool ); } /**