diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-02 15:03:12 +0100 |
---|---|---|
committer | Lukas Fleischer <archlinux@cryptocrack.de> | 2011-03-10 18:15:59 +0100 |
commit | 80401c6afc165eb2033a92861039fd2fd4d43dcb (patch) | |
tree | 4f3019f1c93349dbd5bebc627794c9d0b1cbf4a0 /web/html | |
parent | 29b2f3b3990390b4010d8b73a21d11982cbafbec (diff) | |
download | aur-80401c6afc165eb2033a92861039fd2fd4d43dcb.tar.gz aur-80401c6afc165eb2033a92861039fd2fd4d43dcb.tar.xz |
More PHP Notice undefined fixups
Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
Diffstat (limited to 'web/html')
-rw-r--r-- | web/html/packages.php | 6 |
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); |