X-Git-Url: http://git.ieval.ro/?a=blobdiff_plain;f=lib%2FGruntmaster%2FPage%2FLog%2FEntry.pm;h=4dd13baaef7eeb54fdd4952cdef894e857a778a6;hb=c259ad15c1e3ed8f643fda85c5c4f432aac2d6ef;hp=4b7a70df732b645b4622988941d8278d9c53a5e9;hpb=fe78f0c128c35e68e65850b02057997bad6717fe;p=gruntmaster-page.git diff --git a/lib/Gruntmaster/Page/Log/Entry.pm b/lib/Gruntmaster/Page/Log/Entry.pm index 4b7a70d..4dd13ba 100644 --- a/lib/Gruntmaster/Page/Log/Entry.pm +++ b/lib/Gruntmaster/Page/Log/Entry.pm @@ -33,7 +33,7 @@ $templates{$_} .= footer $_ for keys %templates; sub generate{ my ($path, $lang) = @_; - $id = ($path =~ m,log/(.*)/index,)[0]; + my $id = ($path =~ m,log/(.*)/index,)[0]; $path =~ s,/index\.html,,; my $template = $templates{$lang};