From 9dab5dc6d6a13ef40fa93c626f06b20d2c979189 Mon Sep 17 00:00:00 2001 From: Frank Lichtenheld Date: Sun, 7 Oct 2007 22:18:36 +0200 Subject: [PATCH] Don't try to output html in error/debug messages --- lib/Packages/CGI.pm | 2 +- lib/Packages/DoShow.pm | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/Packages/CGI.pm b/lib/Packages/CGI.pm index c29e56c..beb4e25 100644 --- a/lib/Packages/CGI.pm +++ b/lib/Packages/CGI.pm @@ -88,7 +88,7 @@ sub parse_params { foreach my $param ( keys %params ) { - debug( "Param $param", 2 ) if DEBUG; + debug( "Param $param", 2 ) if DEBUG; my $p_value_orig = $cgi->param($param); diff --git a/lib/Packages/DoShow.pm b/lib/Packages/DoShow.pm index 2e33692..51c97e7 100644 --- a/lib/Packages/DoShow.pm +++ b/lib/Packages/DoShow.pm @@ -68,8 +68,8 @@ sub do_show { } unless (@results || @non_results ) { - fatal_error( _g( "No such package." )."
". - sprintf( _g( 'Search for the package' ), make_search_url('','keywords='.uri_escape($pkg)) ) ); + fatal_error( _g( "No such package.") ); + #sprintf( _g( 'Search for the package' ), make_search_url('','keywords='.uri_escape($pkg)) ) ); } else { my %all_suites; foreach (@results, @non_results) { -- 2.39.2