From a45b22e34d02d6f9cc783f7685c015ca46db38ea Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 4 Apr 2005 15:27:05 +0000 Subject: [PATCH] Ajout lecture des permissions --- htdocs/fourn/pre.inc.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/htdocs/fourn/pre.inc.php b/htdocs/fourn/pre.inc.php index 2509a52ea70..c0bcb2aa499 100644 --- a/htdocs/fourn/pre.inc.php +++ b/htdocs/fourn/pre.inc.php @@ -27,7 +27,7 @@ */ require("../main.inc.php"); - +$user->getrights('fournisseur'); function llxHeader($head = "", $title="", $addons='') { global $user, $conf, $langs; @@ -75,6 +75,7 @@ function llxHeader($head = "", $title="", $addons='') { $menu->add_submenu(DOL_URL_ROOT."/fourn/facture/paiement.php", $langs->trans("Payments")); } + if ($conf->commande->enabled) { $langs->load("orders");