From 2a81b74f81e6b4f065d124633e8d27faccf2bb81 Mon Sep 17 00:00:00 2001 From: wangyidong Date: Thu, 19 Sep 2019 14:19:38 +0800 Subject: [PATCH] * fix bug. --- module/testtask/control.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module/testtask/control.php b/module/testtask/control.php index c156c43c4d..6159082a77 100644 --- a/module/testtask/control.php +++ b/module/testtask/control.php @@ -505,7 +505,7 @@ class testtask extends control if($this->post->comment != '' or !empty($changes)) { - $actionID = $this->action->create('testtask', $taskID, 'Started', $this->post->comment); + $actionID = $this->loadModel('action')->create('testtask', $taskID, 'Started', $this->post->comment); $this->action->logHistory($actionID, $changes); }