diff --git a/htdocs/comm/askpricesupplier/card.php b/htdocs/comm/askpricesupplier/card.php
index 3e6abe98b2d..b87a579b0e8 100644
--- a/htdocs/comm/askpricesupplier/card.php
+++ b/htdocs/comm/askpricesupplier/card.php
@@ -1730,7 +1730,7 @@ if ($action == 'create')
/*
* Action presend
*/
- if (!empty(GETPOST('modelselected'))) {
+ if (GETPOST('modelselected')) {
$action = 'presend';
}
if ($action == 'presend')
diff --git a/htdocs/comm/propal.php b/htdocs/comm/propal.php
index e6876637dcf..c5cd570c241 100644
--- a/htdocs/comm/propal.php
+++ b/htdocs/comm/propal.php
@@ -2308,7 +2308,7 @@ if ($action == 'create')
* Action presend
*/
//Select mail models is same action as presend
- if (!empty(GETPOST('modelselected'))) {
+ if (GETPOST('modelselected')) {
$action = 'presend';
}
if ($action == 'presend')
diff --git a/htdocs/compta/facture.php b/htdocs/compta/facture.php
index 01df11a61ab..3cf9456fbe7 100644
--- a/htdocs/compta/facture.php
+++ b/htdocs/compta/facture.php
@@ -3734,7 +3734,7 @@ if ($action == 'create')
print '
';
//Select mail models is same action as presend
- if (!empty(GETPOST('modelselected'))) {
+ if (GETPOST('modelselected')) {
$action = 'presend';
}
if ($action != 'prerelance' && $action != 'presend')
diff --git a/htdocs/compta/facture/mergepdftool.php b/htdocs/compta/facture/mergepdftool.php
index efe16af1fb9..3f3315fda04 100644
--- a/htdocs/compta/facture/mergepdftool.php
+++ b/htdocs/compta/facture/mergepdftool.php
@@ -530,7 +530,7 @@ if ($resql)
print '