More PHP Notice undefined fixups

Signed-off-by: Dan McGee <dan@archlinux.org>
Signed-off-by: Lukas Fleischer <archlinux@cryptocrack.de>
This commit is contained in:
Dan McGee 2011-03-02 08:03:12 -06:00 committed by Lukas Fleischer
parent 29b2f3b399
commit 80401c6afc
3 changed files with 12 additions and 3 deletions

View file

@ -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);