From 2dcb267b4b914b54a9898f44b8dc58ad70df5cde Mon Sep 17 00:00:00 2001 From: Philippe Grand Date: Sat, 27 Mar 2010 17:25:06 +0000 Subject: [PATCH] correct call to class commande.class.php --- htdocs/commande/document.php | 1 + htdocs/commande/note.php | 1 + htdocs/compta/commande/fiche.php | 1 + 3 files changed, 3 insertions(+) diff --git a/htdocs/commande/document.php b/htdocs/commande/document.php index 4a70db5be14..c097e403d5e 100644 --- a/htdocs/commande/document.php +++ b/htdocs/commande/document.php @@ -30,6 +30,7 @@ require("../main.inc.php"); require_once(DOL_DOCUMENT_ROOT.'/lib/order.lib.php'); require_once(DOL_DOCUMENT_ROOT."/lib/files.lib.php"); require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php"); +require_once(DOL_DOCUMENT_ROOT ."/commande/commande.class.php"); if (!$user->rights->commande->lire) accessforbidden(); diff --git a/htdocs/commande/note.php b/htdocs/commande/note.php index 1890c17c901..06d076e6246 100644 --- a/htdocs/commande/note.php +++ b/htdocs/commande/note.php @@ -27,6 +27,7 @@ require("../main.inc.php"); require_once(DOL_DOCUMENT_ROOT.'/lib/order.lib.php'); +require_once(DOL_DOCUMENT_ROOT ."/commande/commande.class.php"); $socid=isset($_GET["socid"])?$_GET["socid"]:isset($_POST["socid"])?$_POST["socid"]:""; diff --git a/htdocs/compta/commande/fiche.php b/htdocs/compta/commande/fiche.php index 5d75106d80d..a6aba00b5e5 100644 --- a/htdocs/compta/commande/fiche.php +++ b/htdocs/compta/commande/fiche.php @@ -29,6 +29,7 @@ require("../../main.inc.php"); require_once(DOL_DOCUMENT_ROOT."/html.formfile.class.php"); require_once(DOL_DOCUMENT_ROOT."/lib/order.lib.php"); require_once(DOL_DOCUMENT_ROOT."/lib/sendings.lib.php"); +require_once(DOL_DOCUMENT_ROOT ."/commande/commande.class.php"); if ($conf->propal->enabled) require_once(DOL_DOCUMENT_ROOT."/comm/propal/propal.class.php"); if ($conf->projet->enabled) require_once(DOL_DOCUMENT_ROOT."/projet/project.class.php");