- Fix when no section parameter is passed
This commit is contained in:
parent
572f9ea595
commit
0a59b16890
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=26475
1 changed files with 3 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
# SUCH DAMAGE.
|
||||
#
|
||||
# $FreeBSD: www/en/cgi/ports.cgi,v 1.90 2005/11/29 23:10:59 pav Exp $
|
||||
# $FreeBSD: www/en/cgi/ports.cgi,v 1.91 2005/11/29 23:24:52 pav Exp $
|
||||
#
|
||||
# ports.cgi - search engine for FreeBSD ports
|
||||
# o search for a port by name or description
|
||||
|
@ -480,7 +480,7 @@ sub footer {
|
|||
<img ALIGN="RIGHT" src="/gifs/powerlogo.gif" alt="Powered by FreeBSD">
|
||||
© 1996-2005 by Wolfram Schneider. All rights reserved.<br>
|
||||
};
|
||||
#print q{$FreeBSD: www/en/cgi/ports.cgi,v 1.90 2005/11/29 23:10:59 pav Exp $} . "<br>\n";
|
||||
#print q{$FreeBSD: www/en/cgi/ports.cgi,v 1.91 2005/11/29 23:24:52 pav Exp $} . "<br>\n";
|
||||
print qq{Please direct questions about this service to
|
||||
<I><A HREF="$mailtoURL">$mailto</A></I><br>\n};
|
||||
print qq{General questions about FreeBSD ports should be sent to } .
|
||||
|
@ -548,6 +548,7 @@ $path_info = &env('PATH_INFO');
|
|||
&decode_form($query_string, *form);
|
||||
|
||||
$section = $form{'sektion'};
|
||||
$section = 'all' if (!$section);
|
||||
$query = $form{'query'};
|
||||
$stype = $form{'stype'};
|
||||
$script_name = &env('SCRIPT_NAME');
|
||||
|
|
Loading…
Reference in a new issue