From: Eileen McNaughton Date: Wed, 8 Nov 2023 00:44:06 +0000 (+1300) Subject: Php 8.x fix on variable X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5708c32be59677207f46e9a05ec736aad4df3e86;p=civicrm-core.git Php 8.x fix on variable --- diff --git a/CRM/Profile/Selector/Listings.php b/CRM/Profile/Selector/Listings.php index dbec1ab1ac..48456b7846 100644 --- a/CRM/Profile/Selector/Listings.php +++ b/CRM/Profile/Selector/Listings.php @@ -598,7 +598,7 @@ class CRM_Profile_Selector_Listings extends CRM_Core_Selector_Base implements CR $typeId = substr($name, 0, -4) . "-website_type_id"; $typeName = CRM_Core_PseudoConstant::getLabel('CRM_Core_DAO_Website', 'website_type_id', $result->$typeId); if ($typeName) { - $row[] = "{$result->$name} (${typeName})"; + $row[] = "{$result->$name} ({$typeName})"; } else { $row[] = "{$result->$name}";