Fixed a double call to safe_input.

This commit is contained in:
Ramon Novoa 2016-06-21 15:22:00 +02:00
parent 9f4a1ffaf9
commit 6a9055c5bd
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}