From 456d547475b1a828903cfab19fee75d6aaa9a033 Mon Sep 17 00:00:00 2001 From: wangyuting Date: Thu, 14 Aug 2025 11:42:04 +0800 Subject: [PATCH] * [bug#64400,done,0.3h,0h] Fix merge branch product id error. --- module/branch/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/branch/control.php b/module/branch/control.php index cab50ec3ff..05204dee72 100644 --- a/module/branch/control.php +++ b/module/branch/control.php @@ -324,7 +324,7 @@ class branch extends control $targetBranch = $this->branch->mergeBranch($productID, $branchIdList, $postData); if(dao::isError()) return $this->sendError(dao::getError()); - $this->loadModel('action')->create('branch', $targetBranch, 'MergedBranch', '', implode(',', $mergedBranches)); + $this->loadModel('action')->create('branch', $targetBranch, 'MergedBranch', '', implode(',', array_keys($mergedBranches))); if(dao::isError()) return $this->sendError(dao::getError()); } return $this->sendSuccess(array('load' => true, 'closeModel' => true));