From a13b1340cc372359a6ed95d9c387fc1fafa07781 Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Wed, 6 Aug 2003 12:26:52 +0000 Subject: [PATCH] Utilisation de accessforbidden --- htdocs/product/fiche.php3 | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/htdocs/product/fiche.php3 b/htdocs/product/fiche.php3 index 26cd17a126c..e5ad338a118 100644 --- a/htdocs/product/fiche.php3 +++ b/htdocs/product/fiche.php3 @@ -29,10 +29,7 @@ $mesg = ''; if (!$user->rights->produit->lire) { - llxHeader(); - print "Accés non authorisé"; - llxFooter(); - exit; + accessforbidden(); } llxHeader();