diff --git a/htdocs/comm/card.php b/htdocs/comm/card.php index 97d61cfdce1..7f4fe6f66c2 100644 --- a/htdocs/comm/card.php +++ b/htdocs/comm/card.php @@ -531,11 +531,12 @@ if ($object->id > 0) print '
| '; print $langs->trans('IntracommReportTransportMode'); print ' | '; - if (($action != 'edittransportmode') && $user->rights->societe->creer) print ' | id.'">'.img_edit($langs->trans('SetMode'), 1).' | '; + if (($action != 'edittransportmode') && $user->rights->societe->creer) { + print 'id.'">'.img_edit($langs->trans('SetMode'), 1).' | '; + } print '