From 19dc3ef8da2d7a43ec12c4d19e6ff613b9b6898c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?C=C3=A9dric=20Salvador?= Date: Mon, 22 Jul 2013 11:51:29 +0200 Subject: [PATCH] instanciation of Facture objects raised errors, deleted them --- htdocs/core/boxes/box_graph_invoices_supplier_permonth.php | 1 - htdocs/core/boxes/box_graph_orders_supplier_permonth.php | 1 - 2 files changed, 2 deletions(-) diff --git a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php index d66bffefe10..ad59e64e89f 100644 --- a/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php +++ b/htdocs/core/boxes/box_graph_invoices_supplier_permonth.php @@ -67,7 +67,6 @@ class box_graph_invoices_supplier_permonth extends ModeleBoxes $refreshaction='refresh_'.$this->boxcode; include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.facture.class.php'; - $facturestatic=new Facture($db); $text = $langs->trans("BoxSuppliersInvoicesPerMonth",$max); $this->info_box_head = array( diff --git a/htdocs/core/boxes/box_graph_orders_supplier_permonth.php b/htdocs/core/boxes/box_graph_orders_supplier_permonth.php index f54fc336577..23e701af36e 100644 --- a/htdocs/core/boxes/box_graph_orders_supplier_permonth.php +++ b/htdocs/core/boxes/box_graph_orders_supplier_permonth.php @@ -67,7 +67,6 @@ class box_graph_orders_supplier_permonth extends ModeleBoxes $refreshaction='refresh_'.$this->boxcode; include_once DOL_DOCUMENT_ROOT.'/fourn/class/fournisseur.commande.class.php'; - $facturestatic=new Facture($db); $text = $langs->trans("BoxSuppliersOrdersPerMonth",$max); $this->info_box_head = array(