Merge pull request #2651 from aternatik/fix_email_template

Fix : bad usage of empty function with GETPOST
This commit is contained in:
Laurent Destailleur 2015-04-18 20:03:55 +02:00
commit 6b934001e9

View File

@ -2164,7 +2164,7 @@ else
print '</div>'."\n";
//Select mail models is same action as presend
if (!empty(GETPOST('modelselected'))) {
if (GETPOST('modelselected')) {
$action = 'presend';
}
if ($action == 'presend')