fixed fatal error

This commit is contained in:
Cédric Salvador 2013-09-12 16:39:18 +02:00
parent 2ec8720629
commit b21226f2b7

View File

@ -21,7 +21,7 @@
* \brief Box to show graph of invoices per month * \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/boxes/modules_boxes.php';
include_once DOL_DOCUMENT_ROOT.'/core/class/dolgraph.class.php';
/** /**
* Class to manage the box to show last invoices * 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)) 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'; $WIDTH=($nbofgraph >= 2 || ! empty($conf->dol_optimize_smallscreen))?'160':'320';
$HEIGHT='192'; $HEIGHT='192';