From b21226f2b71c3682120aaf1adcaa40f4d6580a48 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Salvador?= Date: Thu, 12 Sep 2013 16:39:18 +0200 Subject: [PATCH] fixed fatal error --- htdocs/core/boxes/box_graph_product_distribution.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/htdocs/core/boxes/box_graph_product_distribution.php b/htdocs/core/boxes/box_graph_product_distribution.php index 83baee66ff1..e2b6dfe907c 100644 --- a/htdocs/core/boxes/box_graph_product_distribution.php +++ b/htdocs/core/boxes/box_graph_product_distribution.php @@ -21,7 +21,7 @@ * \brief Box to show graph of invoices per month */ include_once DOL_DOCUMENT_ROOT.'/core/boxes/modules_boxes.php'; - +include_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php'; /** * Class to manage the box to show last invoices @@ -111,7 +111,6 @@ class box_graph_product_distribution extends ModeleBoxes if (! empty($conf->facture->enabled) && ! empty($user->rights->facture->lire)) { - include_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php'; $WIDTH=($nbofgraph >= 2 || ! empty($conf->dol_optimize_smallscreen))?'160':'320'; $HEIGHT='192';