* [bug#66228] Fix the bug of edit stage.

This commit is contained in:
xieqiyu
2025-10-20 06:13:58 +00:00
parent 1d076a68e7
commit 36c09a6f98
+1 -1
View File
@@ -128,7 +128,7 @@ class stageModel extends model
if(isset($this->config->setPercent) && $this->config->setPercent == 1)
{
$totalPercent = $this->getTotalPercent($oldStage->workflowGroup);
if(round($totalPercent + (float)$stage->percent - $oldStage->percent) > 100)
if(round($totalPercent + (float)$stage->percent - (float)$oldStage->percent) > 100)
{
dao::$errors['percent'] = $this->lang->stage->error->percentOver;
return false;