diff --git a/htdocs/adherents/list.php b/htdocs/adherents/list.php
index 838e7cd9a5c..dad19ffafcd 100644
--- a/htdocs/adherents/list.php
+++ b/htdocs/adherents/list.php
@@ -857,7 +857,7 @@ while ($i < min($num, $limit))
else
{
print '
';
- if ($obj->subscription == 'yes')
+ if (!empty($obj->subscription))
{
print $langs->trans("SubscriptionNotReceived");
if ($obj->statut > 0) print " ".img_warning();
diff --git a/htdocs/adherents/type.php b/htdocs/adherents/type.php
index 4590254ebf6..81e387b8dbb 100644
--- a/htdocs/adherents/type.php
+++ b/htdocs/adherents/type.php
@@ -710,7 +710,7 @@ if ($rowid > 0)
else
{
print ' | ';
- if ($objp->subscription == 'yes')
+ if (!empty($objp->subscription))
{
print $langs->trans("SubscriptionNotReceived");
if ($objp->statut > 0) print " ".img_warning();
diff --git a/htdocs/societe/societecontact.php b/htdocs/societe/societecontact.php
index 8874a62bc3b..4a8879c60bd 100644
--- a/htdocs/societe/societecontact.php
+++ b/htdocs/societe/societecontact.php
@@ -331,7 +331,7 @@ if ($id > 0 || ! empty($ref))
else
{
print ' | ';
- if ($objp->subscription == 'yes')
+ if (!empty($objp->subscription))
{
print $langs->trans("SubscriptionNotReceived");
if ($objp->statut > 0) print " ".img_warning();
|