From 99f5a6c6c14273cc754c8554468426da12fa4d5b Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 15 Jan 2026 16:09:23 -0700 Subject: [PATCH] Fix field index increment --- app/xml_cdr/app_config.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/app/xml_cdr/app_config.php b/app/xml_cdr/app_config.php index 1acf2b6b30..6a4f5137c8 100644 --- a/app/xml_cdr/app_config.php +++ b/app/xml_cdr/app_config.php @@ -839,7 +839,7 @@ $apps[$x]['db'][$y]['fields'][$z]['name'] = "call_disposition"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = "call disposition"; - $y++; + $z++; $apps[$x]['db'][$y]['fields'][$z]['name'] = "hangup_cause"; $apps[$x]['db'][$y]['fields'][$z]['type'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; @@ -1243,5 +1243,3 @@ $apps[$x]['db'][$y]['fields'][$z]['type']['sqlite'] = "text"; $apps[$x]['db'][$y]['fields'][$z]['type']['mysql'] = "char(36)"; $apps[$x]['db'][$y]['fields'][$z]['description']['en-us'] = ""; - -?>