diff options
author | Loui Chang <louipc.ist@gmail.com> | 2009-03-03 13:22:53 -0500 |
---|---|---|
committer | Loui Chang <louipc.ist@gmail.com> | 2009-03-03 13:22:53 -0500 |
commit | 9c98047f86775cd20b0b01c4b6c426e1b3a0fd53 (patch) | |
tree | 146bed61260495dcc6d6f7e541bb0ae572e03347 /web/lib | |
parent | 2f8b8aac7315d9b8fc8f4a635a61cd64e2e4bd3a (diff) | |
download | aurweb-9c98047f86775cd20b0b01c4b6c426e1b3a0fd53.tar.xz |
Fix search output if no results are found.
Signed-off-by: Loui Chang <louipc.ist@gmail.com>
Diffstat (limited to 'web/lib')
-rw-r--r-- | web/lib/pkgfuncs.inc | 2 |
1 files changed, 1 insertions, 1 deletions
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'); } |