From 7bd0bdd31f78fc690631e7a523c440551e42034a Mon Sep 17 00:00:00 2001 From: Arlen Johnson Date: Tue, 14 Apr 2026 15:06:06 -0400 Subject: [PATCH] Improve frozen field test for People Picker (NO-JIRA) (#389) --- app/templates/element/peopleAutocomplete.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/templates/element/peopleAutocomplete.php b/app/templates/element/peopleAutocomplete.php index ab8204105..91ec9c4f0 100644 --- a/app/templates/element/peopleAutocomplete.php +++ b/app/templates/element/peopleAutocomplete.php @@ -32,7 +32,7 @@ $type = $type ?? 'stand-alone'; // For a frozen field, print the referenced person (if one exists) and link to the person canvas. - if($type == 'field' && $vv_obj['frozen']) { + if($type == 'field' && isset($vv_obj) && $vv_obj['frozen']) { $personId = $vv_obj[$vv_field_arguments['fieldName']]; if(!empty($personId)) { $personRecord = $this->Petition->getRecordForId( @@ -95,7 +95,7 @@ } ?> - +