Code updates for PHP8 compatibility, and json output format to several Non-Agent API

Fixes for input variable filtering

git-svn-id: svn://192.168.202.10@3995 3d104415-ff17-0410-8863-d5cf3c621b8a
This commit is contained in:
mattf
2026-05-22 13:42:42 +00:00
parent 0640600f2e
commit 009b200c9b
5 changed files with 1514 additions and 483 deletions
+1 -1
View File
@@ -803,7 +803,7 @@ else
# update internal process log
$iLog_ct++;
if ($iLog_ct =~ /00$/)
if ($iLog_ct =~ /00$|50$/)
{
$stmtA = "UPDATE vicidial_internal_log SET up_time=NOW(), action='running', stage='Loops: $iLog_ct' WHERE process='$script_name' and server_ip='$server_ip' order by db_time desc limit 1;";
if($DB){print STDERR "|$stmtA|";}