From 6a80837503a26c0e85bfab38315200885ffb6b58 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Tue, 24 Jun 2025 16:40:47 +0800 Subject: [PATCH] * [refac bug #63600] Adjust for check post request. --- module/project/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/project/control.php b/module/project/control.php index e1b6b59aa9..bd56214f66 100755 --- a/module/project/control.php +++ b/module/project/control.php @@ -1270,7 +1270,7 @@ class project extends control public function manageGroupMember(int $groupID, int $deptID = 0) { $this->loadModel('group'); - if(!empty($_POST)) + if($this->server->request_method == 'POST') { $this->group->updateUser($groupID); return $this->send(array('result' => 'success', 'load' => true, 'closeModal' => true));