* [refac bug #58405] Check project var empty or not.

This commit is contained in:
wangyidong
2024-12-23 14:48:17 +08:00
committed by 孙广明
parent aae5da640b
commit c6fa8c42fa
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -20,7 +20,7 @@ $fields->field('project')
->items(data('allProjects'))
->value(data('projectID'));
if($project->model == 'waterfall' || $project->model == 'waterfallplus')
if($project && ($project->model == 'waterfall' || $project->model == 'waterfallplus'))
{
$fields->field('parent')
->wrapBefore(true)