Merge pull request #2651 from aternatik/fix_email_template
Fix : bad usage of empty function with GETPOST
This commit is contained in:
commit
6b934001e9
@ -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')
|
||||
|
||||
Loading…
Reference in New Issue
Block a user