* [bug#59699,done,0.5h] fix change first hours error.
This commit is contained in:
@@ -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();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user