diff options
Diffstat (limited to 'Bugzilla')
-rw-r--r-- | Bugzilla/Extension.pm | 2 | ||||
-rw-r--r-- | Bugzilla/Template/PreloadProvider.pm | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/Bugzilla/Extension.pm b/Bugzilla/Extension.pm index baf2286e1..a41ac9326 100644 --- a/Bugzilla/Extension.pm +++ b/Bugzilla/Extension.pm @@ -46,7 +46,7 @@ sub INC_HOOK { return 1; } else { - $_ = qq{# line 0 "$real_file"\n}; + $_ = qq{# line 1 "$real_file"\n}; $first = 0; return 1; } diff --git a/Bugzilla/Template/PreloadProvider.pm b/Bugzilla/Template/PreloadProvider.pm index 2588b1a79..bddabfa2e 100644 --- a/Bugzilla/Template/PreloadProvider.pm +++ b/Bugzilla/Template/PreloadProvider.pm @@ -43,6 +43,7 @@ sub _init { } trick_taint($name); my $data = { + path => $name, name => $key, text => do { open my $fh, '<:utf8', $name or die "cannot open $name"; |