Fix $objp->subscription =="yes"

This commit is contained in:
daraelmin 2021-04-29 23:16:21 +02:00 committed by GitHub
parent 4174ebd9c0
commit 749aeeb233
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -331,7 +331,7 @@ if ($id > 0 || ! empty($ref))
else
{
print '<td class="left nowrap">';
if ($objp->subscription == 'yes')
if (!empty($objp->subscription))
{
print $langs->trans("SubscriptionNotReceived");
if ($objp->statut > 0) print " ".img_warning();