Merge pull request #17437 from daraelmin/daraelmin-patch-v11-2
Fix logical test always false V11 to v14
This commit is contained in:
commit
08c85a88c8
@ -857,7 +857,7 @@ while ($i < min($num, $limit))
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<td class="nowrap left">';
|
print '<td class="nowrap left">';
|
||||||
if ($obj->subscription == 'yes')
|
if (!empty($obj->subscription))
|
||||||
{
|
{
|
||||||
print $langs->trans("SubscriptionNotReceived");
|
print $langs->trans("SubscriptionNotReceived");
|
||||||
if ($obj->statut > 0) print " ".img_warning();
|
if ($obj->statut > 0) print " ".img_warning();
|
||||||
|
|||||||
@ -710,7 +710,7 @@ if ($rowid > 0)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<td class="nowrap left">';
|
print '<td class="nowrap left">';
|
||||||
if ($objp->subscription == 'yes')
|
if (!empty($objp->subscription))
|
||||||
{
|
{
|
||||||
print $langs->trans("SubscriptionNotReceived");
|
print $langs->trans("SubscriptionNotReceived");
|
||||||
if ($objp->statut > 0) print " ".img_warning();
|
if ($objp->statut > 0) print " ".img_warning();
|
||||||
|
|||||||
@ -331,7 +331,7 @@ if ($id > 0 || ! empty($ref))
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
print '<td class="left nowrap">';
|
print '<td class="left nowrap">';
|
||||||
if ($objp->subscription == 'yes')
|
if (!empty($objp->subscription))
|
||||||
{
|
{
|
||||||
print $langs->trans("SubscriptionNotReceived");
|
print $langs->trans("SubscriptionNotReceived");
|
||||||
if ($objp->statut > 0) print " ".img_warning();
|
if ($objp->statut > 0) print " ".img_warning();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user