diff options
Diffstat (limited to 'web/template/pkg_search_results.php')
-rw-r--r-- | web/template/pkg_search_results.php | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/web/template/pkg_search_results.php b/web/template/pkg_search_results.php index a0968628..c8c29f2c 100644 --- a/web/template/pkg_search_results.php +++ b/web/template/pkg_search_results.php @@ -43,7 +43,11 @@ </tr> <?php -$atype = account_from_sid($_COOKIE['AURSID']); +if (isset($_COOKIE['AURSID'])) { + $atype = account_from_sid($_COOKIE['AURSID']); +} else { + $atype = ""; +} for ($i = 0; $row = mysql_fetch_assoc($result); $i++) { (($i % 2) == 0) ? $c = "data1" : $c = "data2"; if ($row["OutOfDateTS"] !== NULL): $c = "outofdate"; endif; |