* [refac bug #58405] Check project var empty or not.
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user