From eaa292bbb15b252dfc504e90a176ff83c87d5db4 Mon Sep 17 00:00:00 2001 From: dingguodong Date: Fri, 1 Sep 2023 16:13:13 +0800 Subject: [PATCH] * Fix type error. --- module/programplan/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/programplan/model.php b/module/programplan/model.php index b0e484c69d..d426f7d62e 100755 --- a/module/programplan/model.php +++ b/module/programplan/model.php @@ -1248,7 +1248,7 @@ class programplanModel extends model if(isset($newParent) && $newParent) { $this->dao->update(TABLE_EXECUTION)->data($newParent)->where('id')->eq($id)->exec(); - $this->loadModel('action')->create('execution', $id, $parentAction, '', $parentAction); + $this->loadModel('action')->create('execution', (int)$id, $parentAction, '', $parentAction); } unset($newParent, $parentAction); }