From 387b594d3e231cbf2d07df97f32fc3b344ad01d6 Mon Sep 17 00:00:00 2001 From: sunguangming Date: Thu, 29 Aug 2024 09:00:47 +0000 Subject: [PATCH] * [bug#54732,done,0.2h] fix bug. --- module/execution/control.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/module/execution/control.php b/module/execution/control.php index 7eddb0dfeb..3bf37d8e71 100644 --- a/module/execution/control.php +++ b/module/execution/control.php @@ -937,6 +937,8 @@ class execution extends control ->add('consumed', empty($burn) ? 0 : $burn->consumed) ->get(); + if(!$burnData->left) $burnData->left = 0; + if(is_numeric($burnData->estimate)) $this->execution->fixFirst($burnData); return $this->send(array('result' => 'success', 'load' => true, 'closeModal' => true)); }