summaryrefslogtreecommitdiffstats
path: root/web/html/packages.php
diff options
context:
space:
mode:
Diffstat (limited to 'web/html/packages.php')
-rw-r--r--web/html/packages.php6
1 files changed, 5 insertions, 1 deletions
diff --git a/web/html/packages.php b/web/html/packages.php
index c8949a4a..fe69449e 100644
--- a/web/html/packages.php
+++ b/web/html/packages.php
@@ -88,7 +88,11 @@ if (isset($_GET['ID'])) {
$_GET['SB'] = 'v';
$_GET['SO'] = 'd';
}
- pkg_search_page($_COOKIE["AURSID"]);
+ if (isset($_COOKIE["AURSID"])) {
+ pkg_search_page($_COOKIE["AURSID"]);
+ } else {
+ pkg_search_page();
+ }
}
html_footer(AUR_VERSION);