* [refac bug #63735] Adjust logHistory method.

This commit is contained in:
wangyidong
2025-06-26 11:45:19 +08:00
parent 9c85fde1d6
commit 7b1f62d0bc
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -657,7 +657,7 @@ class testtask extends control
if($changes || $this->post->comment)
{
$actionID = $this->loadModel('action')->create('testtask', $taskID, 'Closed', $this->post->comment);
$this->action->logHistory($actionID, $changes);
if($changes) $this->action->logHistory($actionID, $changes);
}
$message = $this->executeHooks($taskID) ?: $this->lang->saveSuccess;