use already collected error-string

This commit is contained in:
Klaus Leithoff 2013-05-27 11:07:01 +00:00
parent cbae83f9d3
commit bbade8e107

View File

@ -506,7 +506,7 @@ class ajaxfelamimail
} }
else else
{ {
$error = str_replace('\n',"\n",lang('mailserver reported:\n%1 \ndo you want to proceed by deleting the selected messages immediately (click ok)?\nif not, please try to empty your trashfolder before continuing. (click cancel)',$e->getMessage())); $error = str_replace('\n',"\n",lang('mailserver reported:\n%1 \ndo you want to proceed by deleting the selected messages immediately (click ok)?\nif not, please try to empty your trashfolder before continuing. (click cancel)',$error));
$response->addScript('mail_retryforceddelete('.json_encode($error).','.json_encode($_messageList).');'); $response->addScript('mail_retryforceddelete('.json_encode($error).','.json_encode($_messageList).');');
} }
return $response->getXML(); return $response->getXML();