X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=api%2Fv3%2FUFGroup.php;h=2d25eedea0815fd591631aea0f71b714d08b8bd4;hb=8dc9d4eeae8e6667644b0dae56e0b685af95cebc;hp=3f0f5848144c7b8daf8047525e4a79652da052ce;hpb=34b97aaa673349a3e327fbfab396ab6c167963cd;p=civicrm-core.git diff --git a/api/v3/UFGroup.php b/api/v3/UFGroup.php index 3f0f584814..2d25eedea0 100644 --- a/api/v3/UFGroup.php +++ b/api/v3/UFGroup.php @@ -135,7 +135,7 @@ function _civicrm_api3_uf_group_getlist_output($result, $request, $entity, $fiel } }; if (!empty($request['image_field'])) { - $data['image'] = isset($row[$request['image_field']]) ? $row[$request['image_field']] : ''; + $data['image'] = $row[$request['image_field']] ?? ''; } $output[] = $data; }