Fix status of email templates not visible for non admin users

This commit is contained in:
Laurent Destailleur 2019-07-05 17:22:13 +02:00
parent 9b32763919
commit 42576eb27a

View File

@ -873,6 +873,7 @@ if ($resql)
// Status / Active
print '<td align="center" class="nowrap">';
if ($canbedisabled) print '<a href="'.$url.'action='.$acts[$obj->active].'">'.$actl[$obj->active].'</a>';
else print '<span class="opacitymedium">'.$actl[$obj->active].'</span>';
print "</td>";
// Modify link / Delete link