26 Apr
2011
26 Apr
'11
6:02 a.m.
fixes php notice level error: Undefined variable: whovoted in ../tu.php --- web/html/tu.php | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diff --git a/web/html/tu.php b/web/html/tu.php index dc1c5e3..c5cc36b 100644 --- a/web/html/tu.php +++ b/web/html/tu.php @@ -46,6 +46,7 @@ if ($atype == "Trusted User" OR $atype == "Developer") { ORDER BY Username"; $result = db_query($qwhoVoted,$dbh); if (mysql_num_rows($result) > 0) { + $whovoted = ''; while ($who = mysql_fetch_assoc($result)) { $whovoted.= '<a href="account.php?Action=AccountInfo&ID='.$who['UserID'].'">'.$who['Username'].'</a> '; } -- 1.7.4.1