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;