Skip to content

Commit

Permalink
Fix instalment finished
Browse files Browse the repository at this point in the history
  • Loading branch information
ibnux committed Mar 15, 2024
1 parent 1d0d3f1 commit 850581d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion system/autoload/User.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public static function getBills($id = 0)
// installment
list($cost, $rem) = explode(":", $v);
// :0 installment is done
if ($rem != 0) {
if (!empty($rem)) {
$bills[$k] = $cost;
$addcost += $cost;
}
Expand Down

0 comments on commit 850581d

Please sign in to comment.