diff --git a/user.inc.php b/user.inc.php index 43898b4..8154ad2 100644 --- a/user.inc.php +++ b/user.inc.php @@ -188,6 +188,7 @@ function user_load($users_id, $accounts_id = false) foreach($specialFields as $field){ switch($field){ case 'special_awards': + $selected = array(); $q = mysql_query("SELECT award_awards_id aaid FROM judges_specialaward_sel WHERE users_id = {$u['id']}"); while($r = mysql_fetch_assoc($q)){ $selected[] = $r['aaid']; @@ -235,9 +236,6 @@ function user_load($users_id, $accounts_id = false) unset($u['orig']); /* echo "
";
-echo "The user fields:\n";
-print_r($fieldDat);
-echo "\nThe user object:\n";
 print_r($u);
 echo "
"; */