mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-02 14:07:04 +03:00
Small fixes
This commit is contained in:
parent
76c21b82b3
commit
fd58f4dcd5
18 changed files with 491 additions and 429 deletions
|
|
@ -5199,14 +5199,18 @@ class Actions
|
|||
}
|
||||
|
||||
$aHeaders = $mRow;
|
||||
|
||||
foreach ($aHeaders as $iIndex => $sHeaderValue)
|
||||
{
|
||||
$aHeaders[$iIndex] = \MailSo\Base\Utils::Utf8Clear($sHeaderValue);
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
$aNewItem = array();
|
||||
foreach ($aHeaders as $iIndex => $sHeaderValue)
|
||||
{
|
||||
$aNewItem[@\iconv('utf-8', 'utf-8//IGNORE', $sHeaderValue)] =
|
||||
isset($mRow[$iIndex]) ? $mRow[$iIndex] : '';
|
||||
$aNewItem[$sHeaderValue] = isset($mRow[$iIndex]) ? $mRow[$iIndex] : '';
|
||||
}
|
||||
|
||||
$aData[] = $aNewItem;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue