Skip to content

Commit

Permalink
Cleanup placeholders before sending them
Browse files Browse the repository at this point in the history
  • Loading branch information
jrouzierinverse committed May 15, 2019
1 parent 9ba9212 commit 30eac14
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lib/pf/UnifiedApi/Controller/Config.pm
Expand Up @@ -510,7 +510,12 @@ standardPlaceholder

sub standardPlaceholder {
my ($self) = @_;
return $self->config_store->readDefaults;
my $values = $self->config_store->readDefaults;
if ($values) {
$values = $self->cleanup_item($values);
}

return $values;
}

=head2 id_field_default
Expand Down

0 comments on commit 30eac14

Please sign in to comment.