Merge branch 'wxp_bug87025' into 'master'
* Fixed bug #87025. See merge request easycorp/zentaopms!7185
This commit is contained in:
@@ -745,6 +745,12 @@ class programplanModel extends model
|
||||
|
||||
$datas[] = $plan;
|
||||
}
|
||||
|
||||
if(empty($datas))
|
||||
{
|
||||
dao::$errors['message'][] = sprintf($this->lang->error->notempty, $this->lang->programplan->name);
|
||||
return false;
|
||||
}
|
||||
|
||||
$totalPercent = 0;
|
||||
$totalDevType = 0;
|
||||
|
||||
Reference in New Issue
Block a user