diff --git a/htdocs/projet/fiche.php b/htdocs/projet/fiche.php index 44c64d5f8da..5ecad811215 100644 --- a/htdocs/projet/fiche.php +++ b/htdocs/projet/fiche.php @@ -48,7 +48,7 @@ if ($user->societe_id > 0) } // Protection restriction commercial -if ($projetid) +if ($projetid && !$user->rights->commercial->client->voir) { $sql = "SELECT p.rowid, p.fk_soc"; $sql.= " FROM ".MAIN_DB_PREFIX."projet as p";