From bee5af4d9eaad2b3b50e13d5563d8f23daf4581b Mon Sep 17 00:00:00 2001 From: jfefe Date: Sat, 18 Apr 2015 19:56:36 +0200 Subject: [PATCH] Fix : bad usage of empty function with GETPOST --- htdocs/societe/soc.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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')