From f16808c63f2a4130f3f7afc8db7bad835aac3cf2 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Wed, 16 Jul 2014 15:50:50 +0000 Subject: [PATCH] * EMailAdmin: if wizzard was called on error, it was not able to save fixed account (showed same error again) because it re-read the original account before saving it --- emailadmin/inc/class.emailadmin_wizard.inc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/emailadmin/inc/class.emailadmin_wizard.inc.php b/emailadmin/inc/class.emailadmin_wizard.inc.php index aa46112b31..397975d037 100644 --- a/emailadmin/inc/class.emailadmin_wizard.inc.php +++ b/emailadmin/inc/class.emailadmin_wizard.inc.php @@ -839,7 +839,7 @@ class emailadmin_wizard if ($content['acc_id'] || (isset($_GET['acc_id']) && (int)$_GET['acc_id'] > 0) ) emailadmin_imapbase::unsetCachedObjects($content['acc_id']?$content['acc_id']:$_GET['acc_id']); $tpl = new etemplate_new('emailadmin.account'); - if (!is_array($content) || !empty($content['acc_id']) && $content['acc_id'] != $content['old_acc_id']) + if (!is_array($content) || !empty($content['acc_id']) && isset($content['old_acc_id']) && $content['acc_id'] != $content['old_acc_id']) { if (!is_array($content)) $content = array(); if ($this->is_admin && isset($_GET['account_id']))