From bf520a38d7c48d7d5513074b1344cfc559ef2858 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Sat, 26 Aug 2023 23:03:38 -0600 Subject: [PATCH] Save the category name and not the description in vars.xml --- resources/switch.php | 3 --- 1 file changed, 3 deletions(-) diff --git a/resources/switch.php b/resources/switch.php index 75bbe9a786..faab9b8620 100644 --- a/resources/switch.php +++ b/resources/switch.php @@ -376,9 +376,6 @@ function save_var_xml() { if ($row['var_category'] != 'Provision') { if ($prev_var_category != $row['var_category']) { $xml .= "\n\n"; - if (!empty($row["var_description"])) { - $xml .= "\n"; - } } if (empty($row['var_command'])) { $row['var_command'] = 'set'; } if ($row['var_category'] == 'Exec-Set') { $row['var_command'] = 'exec-set'; }