Update switch.php

This commit is contained in:
FusionPBX 2018-03-29 19:29:12 -06:00 committed by GitHub
parent 300952e1a1
commit 6f9ff0fb08
1 changed files with 1 additions and 1 deletions

View File

@ -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<!-- ".$row['var_category']." -->\n";
if (strlen($row["var_description"]) > 0) {
$xml .= "<!-- ".base64_decode($row['var_description'])." -->\n";