replace all instances of mysqli_fetch_array with mysqli_fetch_assoc for better performance and memory usage

This commit is contained in:
johnnyq
2026-01-14 17:30:23 -05:00
parent cb8b99d6ae
commit 0a30300bde
361 changed files with 1880 additions and 1904 deletions

View File

@@ -17,7 +17,7 @@ if (!isset($_GET['task_approval_id'], $_GET['url_key'])) {
}
// Company info
$company_sql_row = mysqli_fetch_array(mysqli_query($mysqli, "
$company_sql_row = mysqli_fetch_assoc(mysqli_query($mysqli, "
SELECT
company_phone,
company_phone_country_code,
@@ -111,4 +111,3 @@ $ticket_details = $purifier->purify($task_row['ticket_details']);
<?php
require_once $_SERVER['DOCUMENT_ROOT'] . '/includes/footer.php';