Merge pull request #19120 from eileenmcnaughton/fee
[civicrm-core.git] / api / v3 / UFGroup.php
index 3f0f5848144c7b8daf8047525e4a79652da052ce..2d25eedea0815fd591631aea0f71b714d08b8bd4 100644 (file)
@@ -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;
     }