Fix in coloring negative amounts

This commit is contained in:
Laurent Destailleur 2010-08-21 17:38:08 +00:00
parent c1bacfd6a2
commit 8202d8ed35

View File

@ -636,7 +636,7 @@ if ($account || $_GET["ref"])
// Balance // Balance
if ($action != 'search') if ($action != 'search')
{ {
if ($total >= 0) if (price2num($total,'MT') >= 0)
{ {
print '<td align="right" nowrap>&nbsp;'.price($total).'</td>'; print '<td align="right" nowrap>&nbsp;'.price($total).'</td>';
} }