Update switch.php

This commit is contained in:
FusionPBX 2018-03-29 19:30:25 -06:00 committed by GitHub
parent e41ed77a9d
commit 87d9b84cd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

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