diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 3b0781a9e8a..9de895f0094 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -491,10 +491,10 @@ if ($object->id > 0) { // Transport mode by default print ''; - print '
'; + print ''; + if (($action != 'edittransportmode') && $user->rights->societe->creer) print ''; print '
'; print $langs->trans('IntracommReportTransportMode'); print ''; - if (($action != 'edittransportmode') && $user->rights->societe->creer) print 'id.'">'.img_edit($langs->trans('SetMode'), 1).'id.'">'.img_edit($langs->trans('SetMode'), 1).'
'; print '
'; if ($action == 'edittransportmode')