Php 8.x fix on variable
authorEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 8 Nov 2023 00:44:06 +0000 (13:44 +1300)
committerEileen McNaughton <emcnaughton@wikimedia.org>
Wed, 8 Nov 2023 00:44:06 +0000 (13:44 +1300)
CRM/Profile/Selector/Listings.php

index dbec1ab1ac2edc478298ee0e554a879db656a122..48456b784639e391e84cda33b7396d291ea55f19 100644 (file)
@@ -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[] = "<a href=\"$url\">{$result->$name} (${typeName})</a>";
+            $row[] = "<a href=\"$url\">{$result->$name} ({$typeName})</a>";
           }
           else {
             $row[] = "<a href=\"$url\">{$result->$name}</a>";