From 87d9b84cd3aa31e75409a1eb29d90e97ff44a139 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 29 Mar 2018 19:30:25 -0600 Subject: [PATCH] Update switch.php --- resources/switch.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/resources/switch.php b/resources/switch.php index d4657b534d..e4fdd923de 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -406,7 +406,7 @@ function save_var_xml() { $prev_var_category = ''; $xml = ''; foreach ($variables as &$row) { - if ($row['var_cat'] != 'Provision') { + if ($row['var_category'] != 'Provision') { if ($prev_var_category != $row['var_category']) { $xml .= "\n\n"; if (strlen($row["var_description"]) > 0) {