Modif permissions

This commit is contained in:
Rodolphe Quiedeville 2005-09-05 14:33:45 +00:00
parent 024f859b1e
commit 183b2d9775

View File

@ -230,7 +230,7 @@ if ($_GET["id"])
/* ************************************************************************** */
print "\n<div class=\"tabsAction\">\n";
if ($_GET["action"] == '')
if ($_GET["action"] == '' && $user->admin)
{
print "<a class=\"tabAction\" href=\"fiche.php?action=create_commercial&amp;distri=".$distri->id."\">".$langs->trans("Nouveau commercial")."</a>";
}