]> iEval git - gruntmaster-page.git/commitdiff
Fix keys on reference is experimental warning
authorMarius Gavrilescu <marius@ieval.ro>
Sun, 25 Jan 2015 21:21:12 +0000 (23:21 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sun, 25 Jan 2015 21:21:12 +0000 (23:21 +0200)
lib/Plack/App/Gruntmaster/HTML.pm

index 3306be2100508109375494120dfba633ef897bdd..dc74d87dd2b952a9a4f8ae2da91152e434dce368 100644 (file)
@@ -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}");
This page took 0.030214 seconds and 4 git commands to generate.