Quick patch on my last commit.

This commit is contained in:
jacob 2010-11-01 15:28:51 +00:00
parent 21261a99af
commit d8df2be109

View File

@ -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 "<pre>";
echo "The user fields:\n";
print_r($fieldDat);
echo "\nThe user object:\n";
print_r($u);
echo "</pre>";
*/