Skip to content

Commit 11879d6

Browse files
committed
1 parent 80e825d commit 11879d6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

web/templates/pages/list_log.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
<?php } ?>
1616
<?php if ($_SESSION['DEMO_MODE'] != "yes"){
1717
if (($_SESSION['userContext'] === 'admin') && (htmlentities($_GET['user']) !== 'admin')) { ?>
18-
<?php if (($_SESSION['userContext'] === 'admin') && (isset($_GET['user'])) && (htmlentities($_GET['user']) !== 'admin')) { ?>
18+
<?php if (($_SESSION['userContext'] === 'admin') && ($_GET['user'] != '') && (htmlentities($_GET['user']) !== 'admin')) { ?>
1919
<?php if (htmlentities($_GET['user']) !== 'system') {?>
2020
<a href="/list/log/auth/?user=<?=htmlentities($_GET['user']); ?>&token=<?=$_SESSION['token']?>" id="btn-back" class="ui-button cancel" dir="ltr" title="<?=_('Login history');?>"><i class="fas fa-binoculars status-icon green"></i><?=_('Login history');?></a>
2121
<?php } ?>

0 commit comments

Comments
 (0)