Skip to content

Commit fad47b5

Browse files
authored
Merge pull request #423 from kartolo/419_php_warning
[BUGFIX] fix PHP warning
2 parents 37d66a9 + 9e40bfe commit fad47b5

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Classes/Module/RecipientListController.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ protected function showExistingRecipientLists()
191191
'icon' => $this->iconFactory->getIconForRecord('sys_dmail_group', $row, Icon::SIZE_SMALL)->render(),
192192
'editLink' => $this->editLink('sys_dmail_group', $row['uid']),
193193
'reciplink' => $this->linkRecip_record('<strong>' . htmlspecialchars(GeneralUtility::fixed_lgd_cs($row['title'], 30)) . '</strong>&nbsp;&nbsp;', $row['uid']),
194-
'type' => htmlspecialchars(BackendUtility::getProcessedValue('sys_dmail_group', 'type', $row['type'])),
194+
'type' => htmlspecialchars((string) BackendUtility::getProcessedValue('sys_dmail_group', 'type', $row['type'])),
195195
'description' => BackendUtility::getProcessedValue('sys_dmail_group', 'description', htmlspecialchars($row['description'] ?? '')),
196196
'count' => $count,
197197
];
@@ -490,8 +490,8 @@ protected function displayMailGroup($result)
490490
if (is_array($idLists['tt_address'] ?? false)) {
491491
//https://github.com/FriendsOfTYPO3/tt_address/blob/master/ext_tables.sql
492492
$rows = GeneralUtility::makeInstance(TempRepository::class)->fetchRecordsListValues(
493-
$idLists['tt_address'],
494-
'tt_address',
493+
$idLists['tt_address'],
494+
'tt_address',
495495
['uid', 'name', 'first_name', 'middle_name', 'last_name', 'email']
496496
);
497497
$data['tables'][] = [

0 commit comments

Comments
 (0)