mirror of
https://github.com/itflow-org/itflow
synced 2026-02-28 19:04:52 +00:00
switched from mysqli_fetch_array to mysqli_fetch_assoc in client modals
This commit is contained in:
@@ -71,7 +71,7 @@
|
||||
<?php
|
||||
|
||||
$sql = mysqli_query($mysqli, "SELECT client_id, client_name FROM clients ORDER BY client_name ASC");
|
||||
while ($row = mysqli_fetch_array($sql)) {
|
||||
while ($row = mysqli_fetch_assoc($sql)) {
|
||||
$client_id = intval($row['client_id']);
|
||||
$client_name = nullable_htmlentities($row['client_name']);
|
||||
?>
|
||||
|
||||
Reference in New Issue
Block a user