aboutsummaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorGravatar berumuron <dev@marienfressinaud.fr> 2023-08-10 16:43:15 +0200
committerGravatar GitHub <noreply@github.com> 2023-08-10 16:43:15 +0200
commit1e0e4f54a53ad616d95e343dd07fbc98be06c5ea (patch)
treebf2b239b4c784f14b93faed81fc3cba919c265b9 /app
parenteb57f490dbcb5040f2795e0082c28d8f10a0c4b0 (diff)
fix: Allow to access logs when update is disabled (#5577)
Diffstat (limited to 'app')
-rw-r--r--app/layout/aside_configure.phtml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/layout/aside_configure.phtml b/app/layout/aside_configure.phtml
index 03395449b..ba2d28fd3 100644
--- a/app/layout/aside_configure.phtml
+++ b/app/layout/aside_configure.phtml
@@ -82,10 +82,10 @@ function get_logout_url(): string {
<li class="item<?= Minz_Request::controllerName() === 'update' && Minz_Request::actionName() === 'index' ? ' active' : '' ?>">
<a href="<?= _url('update', 'index') ?>"><?= _t('gen.menu.update') ?></a>
</li>
+ <?php } ?>
<li class="item<?= Minz_Request::actionName() === 'logs' ? ' active' : '' ?>">
<a href="<?= _url('index', 'logs') ?>"><?= _t('gen.menu.logs') ?></a>
</li>
- <?php } ?>
<?= Minz_ExtensionManager::callHook('menu_admin_entry') ?>
</ul>
</li>