From eb93e37b045cc8f10d616cd774a02f40c5ca37e0 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Fri, 16 Jul 2021 14:41:13 +0800 Subject: [PATCH] * fix error. --- module/execution/model.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/execution/model.php b/module/execution/model.php index 4b415c888b..1221924092 100644 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1762,8 +1762,8 @@ class executionModel extends model $branch = isset($branches[$i]) ? $branches[$i] : 0; if(isset($oldProducts[$productID][$branch])) { - $oldProducts = $oldProducts[$productID][$branch]; - $oldPlan = $oldProducts->plan; + $oldProduct = $oldProducts[$productID][$branch]; + $oldPlan = $oldProduct->plan; } $data = new stdclass();