From cefd48e94f5cc86c9962c2597162db0f7af5cf3f Mon Sep 17 00:00:00 2001 From: Shish Date: Wed, 13 Mar 2024 23:36:09 +0000 Subject: [PATCH] [tags] redirect to view page after updating tags, fixes #1103 --- ext/tag_categories/main.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/tag_categories/main.php b/ext/tag_categories/main.php index 9ecfcdbd..c5011b26 100644 --- a/ext/tag_categories/main.php +++ b/ext/tag_categories/main.php @@ -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")); } }