fix unsuscribe route

This commit is contained in:
isUnknown 2025-02-04 19:07:25 +01:00
parent 5f3a577c1c
commit 0e7fa10ab3
2 changed files with 5 additions and 5 deletions

View file

@ -1,6 +1,6 @@
<?php
if(!$kirby->user() && $page->template() == 'linear' || $page->template() == 'grid') {
if(!$kirby->user() && ($page->template() == 'linear' || $page->template() == 'grid')) {
go($site->errorPage()->url());
}