From a000f29bafe127925bf2382e2e64201d7751dae5 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Mon, 4 Apr 2005 15:26:33 +0000 Subject: [PATCH] Bugfix permissions barre d'actions --- htdocs/fourn/fiche.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/fourn/fiche.php b/htdocs/fourn/fiche.php index 431b214b6a2..35a2df6a3a7 100644 --- a/htdocs/fourn/fiche.php +++ b/htdocs/fourn/fiche.php @@ -275,7 +275,7 @@ if ( $societe->fetch($socid) ) print '
'; - if ($user->fournisseur->commande->creer) + if ($user->rights->fournisseur->commande->creer) { $langs->load("orders"); print ''.$langs->trans("AddOrder").'';