Save the category name and not the description in vars.xml

This commit is contained in:
FusionPBX 2023-08-26 23:03:38 -06:00 committed by GitHub
parent 959c72abc9
commit bf520a38d7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 3 deletions

View File

@ -376,9 +376,6 @@ function save_var_xml() {
if ($row['var_category'] != 'Provision') {
if ($prev_var_category != $row['var_category']) {
$xml .= "\n<!-- ".$row['var_category']." -->\n";
if (!empty($row["var_description"])) {
$xml .= "<!-- ".base64_decode($row['var_description'])." -->\n";
}
}
if (empty($row['var_command'])) { $row['var_command'] = 'set'; }
if ($row['var_category'] == 'Exec-Set') { $row['var_command'] = 'exec-set'; }