diff --git a/htdocs/admin/mails.php b/htdocs/admin/mails.php index 091be0c5e3c..8dafcfd9218 100644 --- a/htdocs/admin/mails.php +++ b/htdocs/admin/mails.php @@ -208,11 +208,9 @@ if (($_POST['action'] == 'send' || $_POST['action'] == 'sendhtml') $body=make_substitutions($body,$substitutionarrayfortest); require_once(DOL_DOCUMENT_ROOT."/lib/CMailFile.class.php"); - $mailfile = new CMailFile( - $subject, $sendto, $email_from, $body, - $filepath, $mimetype, $filename, - $sendtocc, $sendtoccc, $deliveryreceipt, $msgishtml, $errors_to - ); + $mailfile = new CMailFile($subject, $sendto, $email_from, $body, + $filepath, $mimetype, $filename, + $sendtocc, $sendtoccc, $deliveryreceipt, $msgishtml, $errors_to); $result=$mailfile->sendfile(); @@ -272,10 +270,10 @@ if (isset($_GET["action"]) && $_GET["action"] == 'edit') { $html=new Form($db); - if ($conf->use_javascript_ajax) - { - print "\n".''."\n"; - } + print ''."\n"; + } print '