Skip to content

Commit

Permalink
Merge pull request #4469 from aspangaro/3.9-p8
Browse files Browse the repository at this point in the history
Fix: Commercial index presentation - missing $var=!$var when we have no data
  • Loading branch information
eldy committed Jan 22, 2016
2 parents a406334 + 8a36bda commit f2f4c60
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions htdocs/comm/index.php
Expand Up @@ -194,6 +194,7 @@
}
else
{
$var=!$var;
print '<tr colspan="3" '.$bc[$var].'><td>'.$langs->trans("NoProposal").'</td></tr>';
}
print "</table><br>";
Expand Down Expand Up @@ -273,6 +274,7 @@
}
else
{
$var=!$var;
print '<tr colspan="3" '.$bc[$var].'><td>'.$langs->trans("NoOrder").'</td></tr>';
}
print "</table><br>";
Expand Down Expand Up @@ -353,6 +355,7 @@
}
else
{
$var=!$var;
print '<tr colspan="3" '.$bc[$var].'><td>'.$langs->trans("NoSupplierOrder").'</td></tr>';
}
print "</table><br>";
Expand Down

0 comments on commit f2f4c60

Please sign in to comment.