Skip to content

Commit 32d624b

Browse files
author
Kristan Kenney
committed
Fix if statement in footer.html
1 parent f1a0a31 commit 32d624b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

web/templates/footer.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
</div>
2-
<? if ($_SESSION['userContext'] === 'admin') && ($_SESSION['POLICY_SYSTEM_HIDE_SERVICES'] !== 'yes') {?>
3-
<? if ($_SESSION['UPDATE_AVAILABLE'] === "yes") { ?>
2+
<? if (($_SESSION['userContext'] === 'admin') && ($_SESSION['POLICY_SYSTEM_HIDE_SERVICES'] !== 'yes')) {?>
3+
<? if ($_SESSION['UPDATE_AVAILABLE'] === 'yes') { ?>
44
<div class="footer-banner updates" id="banner">
55
<div>
66
<b>New updates are available!</b> To upgrade your server now, run <span style="font-family:'Courier New', Courier, monospace">apt update && apt upgrade</span> from a shell session.

0 commit comments

Comments
 (0)