Fix search output if no results are found.

Signed-off-by: Loui Chang <louipc.ist@gmail.com>
This commit is contained in:
Loui Chang 2009-03-03 13:22:53 -05:00
parent 2f8b8aac73
commit 9c98047f86
2 changed files with 4 additions and 5 deletions

View file

@ -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');
}