diff --git a/htdocs/conf/conf.class.php b/htdocs/conf/conf.class.php index 87053de3df5..867941f21aa 100644 --- a/htdocs/conf/conf.class.php +++ b/htdocs/conf/conf.class.php @@ -445,7 +445,7 @@ class Conf } // Defini MAIN_GRAPH_LIBRARY - if (isset($this->global->MAIN_GRAPH_LIBRARY) && ! in_array($this->global->MAIN_GRAPH_LIBRARY, array('phplot','artichow'))) + if (!isset($this->global->MAIN_GRAPH_LIBRARY) && ! in_array($this->global->MAIN_GRAPH_LIBRARY, array('phplot','artichow'))) { $this->global->MAIN_GRAPH_LIBRARY='phplot'; // $this->global->MAIN_GRAPH_LIBRARY = 'artichow';