|
@@ -313,7 +313,7 @@ if ($result)
|
|
|
print '<tr class="oddeven trforbreak">';
|
|
|
print '<td class="maxwidthonsmartphone tdoverflowonsmartphone">'.img_object('',$picto,'class="pictoobjectwidth"').' '.$objMod->getName();
|
|
|
print '<a name="'.$objMod->getName().'"></a></td>';
|
|
|
- if ($caneditperms && empty($objMod->rights_admin_allowed) || empty($object->admin))
|
|
|
+ if (($caneditperms && empty($objMod->rights_admin_allowed)) || empty($object->admin))
|
|
|
{
|
|
|
if ($caneditperms)
|
|
|
{
|
|
@@ -324,6 +324,13 @@ if ($result)
|
|
|
print '</td>';
|
|
|
}
|
|
|
}
|
|
|
+ else
|
|
|
+ {
|
|
|
+ if ($caneditperms)
|
|
|
+ {
|
|
|
+ print '<td></td>';
|
|
|
+ }
|
|
|
+ }
|
|
|
print '<td colspan="2"> </td>';
|
|
|
print '</tr>'."\n";
|
|
|
}
|