diff --git a/modcp.php b/modcp.php index 89fe8f640..eda8b14ec 100644 --- a/modcp.php +++ b/modcp.php @@ -174,8 +174,7 @@ if ($mode == 'ip') { $is_auth['auth_mod'] = true; $_POST['insert_bot_msg'] = 1; - unset($_POST['topic_id_list']); - unset($_POST['move_leave_shadow']); + unset($_POST['topic_id_list'], $_POST['move_leave_shadow']); } }