diff --git a/htdocs/soc.php b/htdocs/soc.php
index 82deb84c622..43df6dad4d0 100644
--- a/htdocs/soc.php
+++ b/htdocs/soc.php
@@ -575,8 +575,10 @@ else
print '
| ';
print $langs->trans('RIB');
print ' | | ';
- print ''.img_edit().'';
- print ' |
';
+ if ($user->rights->societe->creer)
+ print ''.img_edit().'';
+
+ print ' ';
print '';
print '';
print $soc->display_rib();
@@ -587,8 +589,9 @@ else
print '| ';
print $langs->trans('ParentCompany');
print ' | | ';
- print ''.img_edit() .'';
- print ' | ';
+ if ($user->rights->societe->creer)
+ print ''.img_edit() .'';
+ print ' | ';
print '';
print '';
if ($soc->parent)
@@ -607,8 +610,9 @@ else
print '| ';
print $langs->trans('SalesRepresentatives');
print ' | | ';
- print ''.img_edit().'';
- print ' | ';
+ if ($user->rights->societe->creer)
+ print ''.img_edit().'';
+ print ' | ';
print '';
print '';
|