From 6eed2e8a7618b275ce345897459dfb4dd2307ddc Mon Sep 17 00:00:00 2001 From: Yuriy Pikhtarev Date: Fri, 5 May 2017 00:56:13 +0300 Subject: [PATCH] 'unset(...)' calls could be merged. (cherry picked from commit 8b3d5e7) --- modcp.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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']); } }