Skip to content

Commit

Permalink
Correct filter for color template
Browse files Browse the repository at this point in the history
  • Loading branch information
cigamit committed Jan 2, 2022
1 parent 657abc6 commit 0c05f65
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion color_templates.php
Expand Up @@ -148,7 +148,7 @@ function aggregate_color_form_save() {
$save1['color_template_id'] = 0;
}

$save1['name'] = form_input_validate(get_filter_request_var('name', FILTER_SANITIZE_SPECIAL_CHARS | FILTER_FLAG_STRIP_LOW), 'name', '', false, 3);
$save1['name'] = form_input_validate(get_filter_request_var('name', FILTER_SANITIZE_SPECIAL_CHARS), 'name', '', false, 3);

cacti_log('Saved ID: ' . $save1['color_template_id'] . ' Name: ' . $save1['name'], false, 'AGGREGATE', POLLER_VERBOSITY_DEBUG);

Expand Down

0 comments on commit 0c05f65

Please sign in to comment.