]> Lady’s Gitweb - Gitweb/blobdiff - gitweb.perl
gitweb: Fix bug in insert_file() subroutine
[Gitweb] / gitweb.perl
index 8d4d14d9caa0789dc6e71be796c24459153f478450c2557b1256495ccfdea21e..912fdfa69185dac27764d081f57dcd834baad4d1dd149b6f1fb1573915b5a56a 100755 (executable)
@@ -2765,7 +2765,7 @@ sub insert_file {
        my $filename = shift;
 
        open my $fd, '<', $filename;
-       print map(to_utf8, <$fd>);
+       print map { to_utf8($_) } <$fd>;
        close $fd;
 }
 
This page took 0.201499 seconds and 4 git commands to generate.