From d2081c22cf0c5f7aba3fa871cf182e467415d0b4 Mon Sep 17 00:00:00 2001 From: Regis Houssin Date: Sun, 28 Oct 2007 09:00:32 +0000 Subject: [PATCH] =?UTF-8?q?Fix:=20MAIN=5FGRAPH=5FLIBRARY=20n'=E9tait=20plu?= =?UTF-8?q?s=20d=E9termin=E9=20par=20d=E9faut?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/conf/conf.class.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/conf/conf.class.php b/htdocs/conf/conf.class.php index 867941f21aa..568b270ae23 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';