diff --git a/htdocs/societe/soc.php b/htdocs/societe/soc.php index f5497aed0ac..87a3ae49ac0 100644 --- a/htdocs/societe/soc.php +++ b/htdocs/societe/soc.php @@ -2164,7 +2164,7 @@ else print ''."\n"; //Select mail models is same action as presend - if (!empty(GETPOST('modelselected'))) { + if (GETPOST('modelselected')) { $action = 'presend'; } if ($action == 'presend')