mirror of
https://github.com/fusionpbx/fusionpbx.git
synced 2025-12-30 00:53:50 +00:00
Save the category name and not the description in vars.xml
This commit is contained in:
@@ -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'; }
|
||||
|
||||
Reference in New Issue
Block a user