From 6f9ff0fb08b5f9160184a968a77a1f0a17de81a8 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Thu, 29 Mar 2018 19:29:12 -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 c0d30965b5..d4657b534d 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -407,7 +407,7 @@ function save_var_xml() { $xml = ''; foreach ($variables as &$row) { if ($row['var_cat'] != 'Provision') { - if ($prev_var_cat != $row['var_cat']) { + if ($prev_var_category != $row['var_category']) { $xml .= "\n\n"; if (strlen($row["var_description"]) > 0) { $xml .= "\n";