Просмотр исходного кода

Fix if condition for hiding delete button on log page

Kristan Kenney 5 лет назад
Родитель
Сommit
280ae1e129
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      web/templates/admin/list_log.html

+ 1 - 1
web/templates/admin/list_log.html

@@ -14,7 +14,7 @@
     </div>
     <div class="l-unit-toolbar__buttonstrip float-right">
       <a href="javascript:location.reload();" class="ui-button cancel" dir="ltr"><i class="fas fa-redo status-icon green"></i><?=_('Refresh')?></a>
-    <? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['look'] === 'admin') && ($_SESSION['RESTRICTED_ADMIN'] === 'yes')) {?>
+    <? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['RESTRICTED_ADMIN'] === 'yes')) {?>
       <!-- Hide delete buttons-->
     <? } else { ?>
       <div class="actions-panel display-inline-block" key-action="js">