summaryrefslogtreecommitdiffstats
path: root/web/lib/pkgfuncs.inc.php
diff options
context:
space:
mode:
authorLukas Fleischer <lfleischer@archlinux.org>2015-09-24 18:31:47 +0200
committerLukas Fleischer <lfleischer@archlinux.org>2015-09-25 08:35:44 +0200
commit938b1058ebb6f652133fcba8f26606b4fb557d29 (patch)
tree9941a6799bc11852ad9ef3618aec006a505f3608 /web/lib/pkgfuncs.inc.php
parent2f8e0dfa3ac67a4225b27135977a48b124717762 (diff)
downloadaurweb-938b1058ebb6f652133fcba8f26606b4fb557d29.tar.xz
pkgfuncs.inc.php: Squelch PHP warning
Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
Diffstat (limited to 'web/lib/pkgfuncs.inc.php')
-rw-r--r--web/lib/pkgfuncs.inc.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php
index edc747b..66bc249 100644
--- a/web/lib/pkgfuncs.inc.php
+++ b/web/lib/pkgfuncs.inc.php
@@ -792,6 +792,7 @@ function pkg_search_page($SID="") {
include('pkg_search_form.php');
+ $searchresults = array();
if ($result) {
while ($row = $result->fetch(PDO::FETCH_ASSOC)) {
$searchresults[] = $row;