Fixed a double call to safe_input.
This commit is contained in:
parent
9f4a1ffaf9
commit
6a9055c5bd
|
@ -4862,7 +4862,7 @@ sub cli_create_policy () {
|
|||
my $id_group = get_group_id($dbh,$group_name);
|
||||
exist_check($id_group,'group',$group_name);
|
||||
|
||||
my $id = enterprise_hook('create_policy',[$dbh, safe_input($policy_name), safe_input($description), $id_group]);
|
||||
my $id = enterprise_hook('create_policy',[$dbh, $policy_name, $description, $id_group]);
|
||||
|
||||
return $id;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue