Skip to content

Commit

Permalink
Fixing #5731 - Tree Save Unpublishes Tree
Browse files Browse the repository at this point in the history
After Marking a Tree for Editing - Saving the Tree Unpublishes the Tree
  • Loading branch information
TheWitness committed Apr 18, 2024
1 parent 6fd248a commit ebcca70
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG
Expand Up @@ -124,6 +124,7 @@ Cacti CHANGELOG
-issue#5725: Remote Agent is not recording not authorized agent in log
-issue#5726: Poller cache is not updating when changing hostname
-issue#5727: Incorrect values status_fail_date and status_rec_date with cmd poller
-issue#5731: After Marking a Tree for Editing - Saving the Tree Unpublishes the Tree
-feature#5692: Add a "device enabled/disabled" indicator next to the graphs
-feature#5710: Notify the admin periodically when a remote data collector goes into heartbeat status
-feature#5716: Add Aruba Clearpass template
Expand Down
2 changes: 1 addition & 1 deletion tree.php
Expand Up @@ -549,7 +549,7 @@ function form_save() {
$save['name'] = form_input_validate(get_nfilter_request_var('name'), 'name', '', false, 3);
$save['sort_type'] = form_input_validate(get_nfilter_request_var('sort_type'), 'sort_type', '', true, 3);
$save['last_modified'] = date('Y-m-d H:i:s', time());
$save['enabled'] = get_nfilter_request_var('enabled') == 'true' ? 'on':'-';
$save['enabled'] = get_nfilter_request_var('enabled');
$save['modified_by'] = $_SESSION[SESS_USER_ID];

if (isempty_request_var('sequence')) {
Expand Down

0 comments on commit ebcca70

Please sign in to comment.