Signed-off-by: Lukas Fleischer <[email protected]>
---
 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 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;
-- 
2.5.3

Reply via email to