From 9e40bfecb435ef858df399ba30fc84b43b095d4d Mon Sep 17 00:00:00 2001 From: Ivan Kartolo Date: Fri, 23 Jun 2023 21:20:16 +0200 Subject: [PATCH] [BUGFIX] fix PHP warning Resolves: #419 --- Classes/Module/RecipientListController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/Module/RecipientListController.php b/Classes/Module/RecipientListController.php index 7e86284e1..2fbe53451 100644 --- a/Classes/Module/RecipientListController.php +++ b/Classes/Module/RecipientListController.php @@ -191,7 +191,7 @@ protected function showExistingRecipientLists() 'icon' => $this->iconFactory->getIconForRecord('sys_dmail_group', $row, Icon::SIZE_SMALL)->render(), 'editLink' => $this->editLink('sys_dmail_group', $row['uid']), 'reciplink' => $this->linkRecip_record('' . htmlspecialchars(GeneralUtility::fixed_lgd_cs($row['title'], 30)) . '  ', $row['uid']), - 'type' => htmlspecialchars(BackendUtility::getProcessedValue('sys_dmail_group', 'type', $row['type'])), + 'type' => htmlspecialchars((string) BackendUtility::getProcessedValue('sys_dmail_group', 'type', $row['type'])), 'description' => BackendUtility::getProcessedValue('sys_dmail_group', 'description', htmlspecialchars($row['description'] ?? '')), 'count' => $count, ]; @@ -490,8 +490,8 @@ protected function displayMailGroup($result) if (is_array($idLists['tt_address'] ?? false)) { //https://github.com/FriendsOfTYPO3/tt_address/blob/master/ext_tables.sql $rows = GeneralUtility::makeInstance(TempRepository::class)->fetchRecordsListValues( - $idLists['tt_address'], - 'tt_address', + $idLists['tt_address'], + 'tt_address', ['uid', 'name', 'first_name', 'middle_name', 'last_name', 'email'] ); $data['tables'][] = [