Fix: left hand side navigation of TOS item when selected (#6055)

This commit is contained in:
maTh authored and GitHub committed 2024-01-22 12:23:23 +01:00
1 parent 9672905711
commit 415490dd7c
1 file changed
+1 -1
+1 -1
View File
@@ -88,7 +88,7 @@
<a href="<?= _url('index', 'about') ?>"><?= _t('gen.menu.about') ?></a>
</li>
<?php if (file_exists(TOS_FILENAME)) { ?>
<li class="item">
<li class="item<?= Minz_Request::actionName() === 'tos' ? ' active' : '' ?>">
<a href="<?= _url('index', 'tos') ?>"><?= _t('index.tos.title')?></a>
</li>
<?php } ?>