From 6b803aca3137d2965d14c83a1ed0d3f73e2477b6 Mon Sep 17 00:00:00 2001 From: Hannes Lau Date: Wed, 10 Jul 2024 00:49:06 +0200 Subject: [PATCH] [BUGFIX] Fix type error for if the userinfo claims contain ints --- Classes/Service/AuthenticationService.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Classes/Service/AuthenticationService.php b/Classes/Service/AuthenticationService.php index a182f51..0a6320b 100644 --- a/Classes/Service/AuthenticationService.php +++ b/Classes/Service/AuthenticationService.php @@ -652,7 +652,7 @@ protected function mergeSimple(array $oidc, array $typo3, string $field, string if (is_array($oidcValue)) { $oidcValue = $oidcValue[0]; } - $sectionValue = str_replace($fullMatchedMarker, $oidcValue, $sectionValue); + $sectionValue = str_replace($fullMatchedMarker, (string)$oidcValue, $sectionValue); } else { $sectionValue = str_replace($fullMatchedMarker, '', $sectionValue); }