From 9c98047f86775cd20b0b01c4b6c426e1b3a0fd53 Mon Sep 17 00:00:00 2001 From: Loui Chang Date: Tue, 3 Mar 2009 13:22:53 -0500 Subject: Fix search output if no results are found. Signed-off-by: Loui Chang --- web/lib/pkgfuncs.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'web/lib') diff --git a/web/lib/pkgfuncs.inc b/web/lib/pkgfuncs.inc index 24b4739..6ce9615 100644 --- a/web/lib/pkgfuncs.inc +++ b/web/lib/pkgfuncs.inc @@ -528,7 +528,7 @@ function pkg_search_page($SID="") { } - if ($total > 1) { + if ($total > 1 || $total == 0) { include('pkg_search_form.php'); include('pkg_search_results.php'); } -- cgit v1.2.3-54-g00ecf