diff options
Diffstat (limited to 'search_plugin.cgi')
-rwxr-xr-x | search_plugin.cgi | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/search_plugin.cgi b/search_plugin.cgi index 0b628f32e..46dce5ee2 100755 --- a/search_plugin.cgi +++ b/search_plugin.cgi @@ -18,9 +18,9 @@ use Bugzilla::Constants; Bugzilla->login(); -my $cgi = Bugzilla->cgi; +my $cgi = Bugzilla->cgi; my $template = Bugzilla->template; -my $vars = {}; +my $vars = {}; # Return the appropriate HTTP response headers. print $cgi->header('application/xml'); @@ -28,10 +28,10 @@ print $cgi->header('application/xml'); # Get the contents of favicon.ico my $filename = bz_locations()->{'libpath'} . "/images/favicon.ico"; if (open(IN, '<', $filename)) { - local $/; - binmode IN; - $vars->{'favicon'} = <IN>; - close IN; + local $/; + binmode IN; + $vars->{'favicon'} = <IN>; + close IN; } $template->process("search/search-plugin.xml.tmpl", $vars) || ThrowTemplateError($template->error()); |