From: Frank Lichtenheld Date: Mon, 20 Feb 2006 14:35:40 +0000 (+0000) Subject: Always set $opts{searchon_form} X-Git-Tag: switch-to-templates~110 X-Git-Url: https://git.deb.at/?a=commitdiff_plain;h=1d735d4df7e110481faa67897ba4c35936998fc0;p=deb%2Fpackages.git Always set $opts{searchon_form} --- diff --git a/cgi-bin/dispatcher.pl b/cgi-bin/dispatcher.pl index f967fd3..0de4f1c 100755 --- a/cgi-bin/dispatcher.pl +++ b/cgi-bin/dispatcher.pl @@ -179,6 +179,8 @@ if ((($opts{searchon} eq 'names') && $opts{source}) || $opts{source} = 1; $opts{searchon} = 'names', $opts{searchon_form} = 'sourcenames'; +} else { + $opts{searchon_form} = $opts{searchon}; } my $pet1 = new Benchmark;