From d6c40c836a53cb1710f911f77f45f28b54ea1b54 Mon Sep 17 00:00:00 2001 From: slawkens Date: Wed, 8 Jan 2025 22:36:49 +0100 Subject: [PATCH] Fix move_thread by unauthorized user --- system/pages/forum/move_thread.php | 1 + 1 file changed, 1 insertion(+) diff --git a/system/pages/forum/move_thread.php b/system/pages/forum/move_thread.php index cdae005a0..d9731e5bf 100644 --- a/system/pages/forum/move_thread.php +++ b/system/pages/forum/move_thread.php @@ -25,6 +25,7 @@ if(!Forum::isModerator()) { echo 'You are not logged in or you are not moderator.'; + return; } $save = isset($_REQUEST['save']) && (int)$_REQUEST['save'] == 1;