Skip to content

Commit

Permalink
Merge pull request #423 from kartolo/419_php_warning
Browse files Browse the repository at this point in the history
[BUGFIX] fix PHP warning
  • Loading branch information
kartolo authored Jun 23, 2023
2 parents 37d66a9 + 9e40bfe commit fad47b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Classes/Module/RecipientListController.php
Original file line number Diff line number Diff line change
Expand Up @@ -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('<strong>' . htmlspecialchars(GeneralUtility::fixed_lgd_cs($row['title'], 30)) . '</strong>&nbsp;&nbsp;', $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,
];
Expand Down Expand Up @@ -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'][] = [
Expand Down

0 comments on commit fad47b5

Please sign in to comment.