* [bug#59699,done,0.5h] fix change first hours error.

This commit is contained in:
tianshujie
2025-02-14 09:34:44 +08:00
committed by 刘梦艺
parent a0ee624f51
commit 02c5ad77e5
+2 -1
View File
@@ -970,9 +970,10 @@ class execution extends control
$burn = $this->execution->getBurnByExecution($executionID, $execution->begin, 0);
$withLeft = $this->post->withLeft ? $this->post->withLeft : 0;
$burnData = form::data($this->config->execution->form->fixfirst)
->add('task', 0)
->add('execution', $executionID)
->add('date', $execution->begin)
->add('left', $withLeft ? $this->post->estimate : $burn->left)
->add('left', $withLeft ? $this->post->estimate : (empty($burn) ? 0 : $burn->left))
->add('consumed', empty($burn) ? 0 : $burn->consumed)
->get();