Skip to content

Commit

Permalink
Fix weird indentation (no functional changes)
Browse files Browse the repository at this point in the history
  • Loading branch information
denny committed Mar 5, 2016
1 parent b4fd04f commit 402584a
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions lib/ShinyCMS/Controller/Admin/Blog.pm
Original file line number Diff line number Diff line change
Expand Up @@ -520,11 +520,11 @@ sub edit_post_do : Chained( 'get_post' ) : PathPart( 'edit-do' ) : Args( 0 ) {
resource_type => 'BlogPost',
});
my @tags = sort split /\s*,\s*/, $c->request->param('tags');
my %dedupe;
foreach my $tag ( @tags ) {
$dedupe{ $tag } = 1;
}
foreach my $tag ( keys %dedupe ) {
my %dedupe;
foreach my $tag ( @tags ) {
$dedupe{ $tag } = 1;
}
foreach my $tag ( keys %dedupe ) {
$tagset->tags->create({
tag => $tag,
});
Expand Down

0 comments on commit 402584a

Please sign in to comment.