From c8d309e5998c6dddbb55fd523c6dba9f6125dcf7 Mon Sep 17 00:00:00 2001 From: florian HENRY Date: Wed, 21 Mar 2018 23:00:33 +0100 Subject: [PATCH] clean --- htdocs/core/actions_sendmails.inc.php | 3 ++- htdocs/user/class/user.class.php | 2 -- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/htdocs/core/actions_sendmails.inc.php b/htdocs/core/actions_sendmails.inc.php index fc21202959c..dd6eeee4361 100644 --- a/htdocs/core/actions_sendmails.inc.php +++ b/htdocs/core/actions_sendmails.inc.php @@ -195,7 +195,8 @@ if (($action == 'send' || $action == 'relance') && ! $_POST['addfile'] && ! $_PO if ($val == 'thirdparty') // Id of third party { $tmparray[] = $thirdparty->name.' <'.$thirdparty->email.'>'; - } elseif ($val) // Id du contact + } + elseif ($val) // Id du contact { $tmparray[] = $thirdparty->contact_get_property((int) $val,'email'); $sendtoid[] = $val; diff --git a/htdocs/user/class/user.class.php b/htdocs/user/class/user.class.php index 10091853134..6cc7007615a 100644 --- a/htdocs/user/class/user.class.php +++ b/htdocs/user/class/user.class.php @@ -1,6 +1,4 @@ * Copyright (c) 2002-2003 Jean-Louis Bergamo * Copyright (c) 2004-2012 Laurent Destailleur