Skip to content

Commit

Permalink
QA: Fix #5731 Correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
TheWitness committed Apr 19, 2024
1 parent 2dbaa89 commit 52de9d6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tree.php
Expand Up @@ -506,7 +506,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');
$save['enabled'] = isset_request_var('enabled') ? 'on':'';
$save['modified_by'] = $_SESSION['sess_user_id'];

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

0 comments on commit 52de9d6

Please sign in to comment.