+ Fix getSuperviseurNetwork
This commit is contained in:
parent
700947619e
commit
d57f088460
|
@ -456,6 +456,8 @@ INNER JOIN networks nt ON na.network_id=nt.id INNER JOIN agents ag ON ag.id=na.a
|
|||
$re = [];
|
||||
if ($result) {
|
||||
while ($row = mysqli_fetch_array($result, MYSQLI_ASSOC)) {
|
||||
$row['balance_princ'] = $row['balance_princ'] == null ? 0 : $row['balance_princ'];
|
||||
$row['balance_com'] = $row['balance_com'] == null ? 0 : $row['balance_com'];
|
||||
$rows[] = $row;
|
||||
}
|
||||
$re['val'] = $rows;
|
||||
|
|
Loading…
Reference in New Issue