diff --git a/htdocs/comm/projet/index.php b/htdocs/comm/projet/index.php index 48c05bb4f99..5a3894a160c 100644 --- a/htdocs/comm/projet/index.php +++ b/htdocs/comm/projet/index.php @@ -36,17 +36,13 @@ print_titre("Projets"); print ''; print ''; -if($socidp && $user->societe_id == 0) -{ - print ''; -} print '
[Nouveau projet]
'; /* * Traitements des actions * */ -if ($action == 'create') { +if ($HTTP_POST_VARS["action"] == 'create') { $pro = new Project($db); $pro->socidp = $socidp;