mirror of
https://github.com/OpenXE-org/OpenXE.git
synced 2025-01-12 06:41:14 +01:00
Bugfix emailbackup
This commit is contained in:
parent
15f4ef55f2
commit
40734ccd66
@ -161,10 +161,7 @@ $width = array('10%'); // Fill out manually later
|
|||||||
|
|
||||||
if (!empty($result)) {
|
if (!empty($result)) {
|
||||||
$emailbackup = $result[0];
|
$emailbackup = $result[0];
|
||||||
} else {
|
}
|
||||||
return;
|
|
||||||
}
|
|
||||||
|
|
||||||
foreach ($emailbackup as $key => $value) {
|
foreach ($emailbackup as $key => $value) {
|
||||||
$this->app->Tpl->Set(strtoupper($key), $value);
|
$this->app->Tpl->Set(strtoupper($key), $value);
|
||||||
}
|
}
|
||||||
@ -296,8 +293,8 @@ $width = array('10%'); // Fill out manually later
|
|||||||
$this->app->erp->MailSend(
|
$this->app->erp->MailSend(
|
||||||
$result[0]['email'],
|
$result[0]['email'],
|
||||||
$result[0]['angezeigtername'],
|
$result[0]['angezeigtername'],
|
||||||
$result[0]['email'],
|
array($result[0]['email']),
|
||||||
$result[0]['angezeigtername'],
|
array($result[0]['angezeigtername']),
|
||||||
'OpenXE ERP: Testmail',
|
'OpenXE ERP: Testmail',
|
||||||
utf8_encode('Dies ist eine Testmail für Account "'.$result[0]['email'].'".'),
|
utf8_encode('Dies ist eine Testmail für Account "'.$result[0]['email'].'".'),
|
||||||
'',0,false,'','',
|
'',0,false,'','',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user