only link to post/list when you actually want post/list, if you want just a default page, leave it empty

This commit is contained in:
Shish
2023-08-18 12:42:42 +01:00
committed by Shish
parent 7f048ff6f2
commit 23e36b4349
9 changed files with 11 additions and 11 deletions

View File

@ -71,7 +71,7 @@ class Trash extends Extension
if (!$this->check_permissions(($event->image))) {
$page->set_mode(PageMode::REDIRECT);
$page->set_redirect(make_link("post/list"));
$page->set_redirect(make_link());
}
}