Fix logical test always false
subscription is an integer and is set to 0 or 1. So subscription is never equal to "yes"
This commit is contained in:
parent
a891211f78
commit
965eb2d639
@ -857,7 +857,7 @@ while ($i < min($num, $limit))
|
||||
else
|
||||
{
|
||||
print '<td class="nowrap left">';
|
||||
if ($obj->subscription == 'yes')
|
||||
if (!empty($obj->subscription))
|
||||
{
|
||||
print $langs->trans("SubscriptionNotReceived");
|
||||
if ($obj->statut > 0) print " ".img_warning();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user