* [bug#58841,done,0.2h] Enable the workload proportion feature and then verify the workload proportion.
This commit is contained in:
@@ -131,7 +131,7 @@ class stageModel extends model
|
||||
->data($stage)
|
||||
->autoCheck()
|
||||
->batchCheck($this->config->stage->edit->requiredFields, 'notempty')
|
||||
->checkIF($stage->percent != '', 'percent', 'float')->where('id')->eq((int)$stageID)
|
||||
->checkIF(isset($stage->percent) && $stage->percent != '', 'percent', 'float')->where('id')->eq((int)$stageID)
|
||||
->exec();
|
||||
|
||||
if(dao::isError()) return false;
|
||||
|
||||
Reference in New Issue
Block a user