From 40734ccd66b579d7542ee9b29bb5a3a020dbed11 Mon Sep 17 00:00:00 2001 From: OpenXE <> Date: Wed, 31 Jan 2024 18:35:05 +0100 Subject: [PATCH] Bugfix emailbackup --- www/pages/emailbackup.php | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) diff --git a/www/pages/emailbackup.php b/www/pages/emailbackup.php index de10051b..271a84e1 100644 --- a/www/pages/emailbackup.php +++ b/www/pages/emailbackup.php @@ -161,10 +161,7 @@ $width = array('10%'); // Fill out manually later if (!empty($result)) { $emailbackup = $result[0]; - } else { - return; - } - + } foreach ($emailbackup as $key => $value) { $this->app->Tpl->Set(strtoupper($key), $value); } @@ -296,8 +293,8 @@ $width = array('10%'); // Fill out manually later $this->app->erp->MailSend( $result[0]['email'], $result[0]['angezeigtername'], - $result[0]['email'], - $result[0]['angezeigtername'], + array($result[0]['email']), + array($result[0]['angezeigtername']), 'OpenXE ERP: Testmail', utf8_encode('Dies ist eine Testmail für Account "'.$result[0]['email'].'".'), '',0,false,'','',