Skip to content

Commit

Permalink
Try a checkstyle fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eldy committed Mar 27, 2012
1 parent 9f9c2ef commit 325d055
Showing 1 changed file with 13 additions and 14 deletions.
27 changes: 13 additions & 14 deletions htdocs/admin/mails.php
Expand Up @@ -162,8 +162,7 @@
/*
* Send mail
*/
if (($action == 'send' || $action == 'sendhtml')
&& ! $_POST['addfile'] && ! $_POST['addfilehtml'] && ! $_POST["removedfile"] && ! $_POST['cancel'])
if (($action == 'send' || $action == 'sendhtml') && ! $_POST['addfile'] && ! $_POST['addfilehtml'] && ! $_POST["removedfile"] && ! $_POST['cancel'])
{
$error=0;

Expand Down Expand Up @@ -212,18 +211,18 @@

require_once(DOL_DOCUMENT_ROOT."/core/class/CMailFile.class.php");
$mailfile = new CMailFile(
$subject,
$sendto,
$email_from,
$body,
$filepath,
$mimetype,
$filename,
$sendtocc,
$sendtoccc,
$deliveryreceipt,
$msgishtml,
$errors_to
$subject,
$sendto,
$email_from,
$body,
$filepath,
$mimetype,
$filename,
$sendtocc,
$sendtoccc,
$deliveryreceipt,
$msgishtml,
$errors_to
);

$result=$mailfile->sendfile();
Expand Down

0 comments on commit 325d055

Please sign in to comment.