mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 09:43:03 +00:00
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:
parent
29b2f3b399
commit
80401c6afc
3 changed files with 12 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue