Save the category name and not the description in vars.xml
This commit is contained in:
parent
959c72abc9
commit
bf520a38d7
|
|
@ -376,9 +376,6 @@ function save_var_xml() {
|
||||||
if ($row['var_category'] != 'Provision') {
|
if ($row['var_category'] != 'Provision') {
|
||||||
if ($prev_var_category != $row['var_category']) {
|
if ($prev_var_category != $row['var_category']) {
|
||||||
$xml .= "\n<!-- ".$row['var_category']." -->\n";
|
$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 (empty($row['var_command'])) { $row['var_command'] = 'set'; }
|
||||||
if ($row['var_category'] == 'Exec-Set') { $row['var_command'] = 'exec-set'; }
|
if ($row['var_category'] == 'Exec-Set') { $row['var_command'] = 'exec-set'; }
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue