From f04e49d73cb7d2d1d2b59ce0797dbc1e8b6d20ef Mon Sep 17 00:00:00 2001 From: Rodolphe Quiedeville Date: Tue, 13 Jul 2004 16:14:18 +0000 Subject: [PATCH] =?UTF-8?q?Modif=20permissions=20pour=20la=20cr=E9ation=20?= =?UTF-8?q?d'une=20societe?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- htdocs/soc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/soc.php b/htdocs/soc.php index bf08526e453..e515d573563 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -72,7 +72,7 @@ if ($_POST["action"] == 'add' or $_POST["action"] == 'update') llxHeader(); $form = new Form($db); -if ($_GET["action"] == 'create') +if ($_GET["action"] == 'create' && $user->rights->societe->creer) { /* * Fiche societe en mode création @@ -270,7 +270,7 @@ else $head[$h][0] = DOL_URL_ROOT.'/societe/notify/fiche.php?socid='.$soc->id; $head[$h][1] = 'Notifications'; - dolibarr_fiche_head($head, 0); + dolibarr_fiche_head($head, 0, $soc->nom); /* * Fiche société en mode visu