From 1021bc82589ccd78150fbddba0f64c42e4dea073 Mon Sep 17 00:00:00 2001 From: dingguodong Date: Mon, 4 Sep 2023 15:24:31 +0800 Subject: [PATCH] * Fix misspelled variable. --- module/execution/model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/execution/model.php b/module/execution/model.php index 1335dd4d37..58ed3c95a2 100755 --- a/module/execution/model.php +++ b/module/execution/model.php @@ -1237,7 +1237,7 @@ class executionModel extends model $changes = common::createChanges($oldExecution, $execution); if(!empty($changes) || $this->post->comment != '') { - $actionID = $this->loadModel('action')->create($this->objectType, $executionID, 'Suspended', $this->post->comment); + $actionID = $this->loadModel('action')->create('execution', $executionID, 'Suspended', $this->post->comment); $this->action->logHistory($actionID, $changes); } return $changes;