From 7ebc871a21c694cf0b83ce8b1396dc68d2f904a7 Mon Sep 17 00:00:00 2001 From: mattf Date: Fri, 14 Jul 2017 03:14:10 +0000 Subject: [PATCH] Fix for issue #1028 in non agent api git-svn-id: svn://192.168.202.10@2793 3d104415-ff17-0410-8863-d5cf3c621b8a --- agc_2-X/trunk/www/vicidial/non_agent_api.php | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/agc_2-X/trunk/www/vicidial/non_agent_api.php b/agc_2-X/trunk/www/vicidial/non_agent_api.php index 76c50e00..d3b9afee 100644 --- a/agc_2-X/trunk/www/vicidial/non_agent_api.php +++ b/agc_2-X/trunk/www/vicidial/non_agent_api.php @@ -122,10 +122,11 @@ # 170601-0747 - Added add_to_hopper options to update_lead function # 170609-1107 - Added ccc_lead_info function # 170615-0006 - Added DIAL status for manual dial agent calls that have not been answered, to 4 functions +# 170713-2312 - Fix for issue #1028 # -$version = '2.14-98'; -$build = '170615-0006'; +$version = '2.14-99'; +$build = '170713-2312'; $api_url_log = 0; $startMS = microtime(); @@ -1123,6 +1124,7 @@ if ($function == 'moh_list') $rslt=mysql_to_mysqli($stmt, $link); $mohfiles_to_print = mysqli_num_rows($rslt); $m=0; + $MOHfiles = ''; while ($mohfiles_to_print > $m) { $rowx=mysqli_fetch_row($rslt);