diff --git a/htdocs/soc.php b/htdocs/soc.php index e63e2ae8dd7..189f3f26d39 100644 --- a/htdocs/soc.php +++ b/htdocs/soc.php @@ -580,9 +580,10 @@ else print $langs->trans('RIB'); print ''; if ($user->rights->societe->creer) - print ''.img_edit().''; - - print ' '; + print ''.img_edit().''; + else + print ' '; + print ''; print ''; print ''; print $soc->display_rib(); @@ -594,8 +595,10 @@ else print $langs->trans('ParentCompany'); print ''; if ($user->rights->societe->creer) - print ''.img_edit() .''; - print ' '; + print ''.img_edit() .''; + else + print ' '; + print ''; print ''; print ''; if ($soc->parent) @@ -615,8 +618,10 @@ else print $langs->trans('SalesRepresentatives'); print ''; if ($user->rights->societe->creer) - print ''.img_edit().''; - print ' '; + print ''.img_edit().''; + else + print ' '; + print ''; print ''; print '';