diff --git a/template/scripts/BxBaseServiceProfiles.php b/template/scripts/BxBaseServiceProfiles.php index a6901d573e..e465ead4db 100644 --- a/template/scripts/BxBaseServiceProfiles.php +++ b/template/scripts/BxBaseServiceProfiles.php @@ -1039,7 +1039,8 @@ public function serviceAccountProfileSwitcher ($iAccountId = false, $iActiveProf 'profile_template' => &$sProfileTemplate, 'profiles' => &$aProfiles )); - + + $aProfilesData = []; foreach ($aProfiles as $aProfile) { if (!$bShowAll && $iActiveProfileId == $aProfile['id']) continue;