From 938b1058ebb6f652133fcba8f26606b4fb557d29 Mon Sep 17 00:00:00 2001 From: Lukas Fleischer Date: Thu, 24 Sep 2015 18:31:47 +0200 Subject: [PATCH] pkgfuncs.inc.php: Squelch PHP warning Signed-off-by: Lukas Fleischer --- web/lib/pkgfuncs.inc.php | 1 + 1 file changed, 1 insertion(+) diff --git a/web/lib/pkgfuncs.inc.php b/web/lib/pkgfuncs.inc.php index edc747b8..66bc249d 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; -- 2.11.4.GIT