diff options
author | Lukas Fleischer <lfleischer@archlinux.org> | 2017-02-03 23:52:31 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@archlinux.org> | 2017-02-03 23:54:31 +0100 |
commit | ac745f656d4c8d19cdcf8d843d6855c6b45a3974 (patch) | |
tree | a1ed0c31ca199702d36d54621b7c0359f94ec2b7 /web/lib/pkgfuncs.inc.php | |
parent | 6cb8c041bc2264d02f7c86545170f45cc92d6caf (diff) | |
download | aur-ac745f656d4c8d19cdcf8d843d6855c6b45a3974.tar.gz aur-ac745f656d4c8d19cdcf8d843d6855c6b45a3974.tar.xz |
Split out the search form from pkg_search_page()
This makes it easier to display search results without showing the
search form.
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib/pkgfuncs.inc.php')
-rw-r--r-- | web/lib/pkgfuncs.inc.php | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php index 8ca88352..8a5cf57b 100644 --- a/web/lib/pkgfuncs.inc.php +++ b/web/lib/pkgfuncs.inc.php @@ -888,8 +888,6 @@ function pkg_search_page($SID="") { $templ_pages[__('Last') . ' »'] = ($pages - 1) * $per_page; } - include('pkg_search_form.php'); - $searchresults = array(); if ($result) { while ($row = $result->fetch(PDO::FETCH_ASSOC)) { |