mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 02:44:53 +00:00
Declare more floatvals
This commit is contained in:
@@ -66,7 +66,7 @@
|
||||
while($row = mysqli_fetch_array($sql_accounts)){
|
||||
$account_id_select = $row['account_id'];
|
||||
$account_name_select = htmlentities($row['account_name']);
|
||||
$opening_balance = htmlentities($row['opening_balance']);
|
||||
$opening_balance = floatval($row['opening_balance']);
|
||||
|
||||
$sql_payments = mysqli_query($mysqli,"SELECT SUM(payment_amount) AS total_payments FROM payments WHERE payment_account_id = $account_id_select");
|
||||
$row = mysqli_fetch_array($sql_payments);
|
||||
|
||||
Reference in New Issue
Block a user