From 184b2f8c0d9b69cf7bbfebc7758ecab9e3529208 Mon Sep 17 00:00:00 2001 From: mattf Date: Sat, 8 Feb 2025 18:58:52 +0000 Subject: [PATCH] Small fix for PHP8 in the latency gaps report git-svn-id: svn://192.168.202.10@3908 3d104415-ff17-0410-8863-d5cf3c621b8a --- www/vicidial/AST_latency_gaps_report.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/www/vicidial/AST_latency_gaps_report.php b/www/vicidial/AST_latency_gaps_report.php index 0e0f5c15..c83d4945 100644 --- a/www/vicidial/AST_latency_gaps_report.php +++ b/www/vicidial/AST_latency_gaps_report.php @@ -1,11 +1,12 @@ LICENSE: AGPLv2 +# Copyright (C) 2025 Joe Johnson, Matt Florell LICENSE: AGPLv2 # # CHANGES # 230430-1952 - First build # 230516-2024 - Fix for graphs +# 250208-1357 - Fix for PHP8 # $startMS = microtime(); @@ -323,7 +324,7 @@ if ($SUBMIT && $query_date) for ($i=1; $i<=mysqli_num_rows($rpt_rslt); $i++) { $row=mysqli_fetch_array($rpt_rslt); - $temp_user=$row[user]; + $temp_user=$row["user"]; if ($i == '1') { $users_ary[$distinct_users_ct] = $temp_user;