X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FPlack%2FApp%2FGruntmaster%2FHTML.pm;h=dc74d87dd2b952a9a4f8ae2da91152e434dce368;hb=418101af1d14d3dfe15748186b18072308bd1a5b;hp=3306be2100508109375494120dfba633ef897bdd;hpb=10c1364274ab64b4342d2aed34e45edb68e170f4;p=plack-app-gruntmaster.git diff --git a/lib/Plack/App/Gruntmaster/HTML.pm b/lib/Plack/App/Gruntmaster/HTML.pm index 3306be2..dc74d87 100644 --- a/lib/Plack/App/Gruntmaster/HTML.pm +++ b/lib/Plack/App/Gruntmaster/HTML.pm @@ -238,7 +238,7 @@ sub process_log { my $elem = $tree->fclass($cls); next unless $elem; delete $args{args}{page}; - my $str = join '&', map { $_ . '=' . $args{args}{$_} } keys $args{args}; + my $str = join '&', map { $_ . '=' . $args{args}{$_} } keys %{$args{args}}; $elem->find('a')->edit_href(sub{s/$/&$str/}); } $tree->fclass('current')->replace_content("Page $args{current_page} of $args{last_page}");