[tags] redirect to view page after updating tags, fixes #1103

This commit is contained in:
Shish 2024-03-13 23:36:09 +00:00 committed by Shish
parent d2689ae225
commit cefd48e94f

View file

@ -74,6 +74,8 @@ class TagCategories extends Extension
}
if ($event->page_matches("tags/categories", method: "POST", permission: Permissions::EDIT_TAG_CATEGORIES)) {
$this->page_update();
$page->set_mode(PageMode::REDIRECT);
$page->set_redirect(make_link("tags/categories"));
}
}