* fix error.

This commit is contained in:
wangyidong
2021-05-10 11:15:31 +08:00
parent c3ba333323
commit 8e003ff449
3 changed files with 12 additions and 8 deletions
+1 -1
View File
@@ -674,7 +674,7 @@ class projectModel extends model
if(isset($project->budget) and $program->budget != 0)
{
$availableBudget = $this->loadModel('program')->getBudgetLeft($program);
if($project->budget > $availableBudget) dao::$errors['budget'] = $this->lang->project->beyondParentBudget;
if($project->budget > $availableBudget) dao::$errors['budget'] = $this->lang->program->beyondParentBudget;
}
/* Judge products not empty. */