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;