forked from science-ation/science-ation
Quick patch on my last commit.
This commit is contained in:
parent
21261a99af
commit
d8df2be109
@ -188,6 +188,7 @@ function user_load($users_id, $accounts_id = false)
|
|||||||
foreach($specialFields as $field){
|
foreach($specialFields as $field){
|
||||||
switch($field){
|
switch($field){
|
||||||
case 'special_awards':
|
case 'special_awards':
|
||||||
|
$selected = array();
|
||||||
$q = mysql_query("SELECT award_awards_id aaid FROM judges_specialaward_sel WHERE users_id = {$u['id']}");
|
$q = mysql_query("SELECT award_awards_id aaid FROM judges_specialaward_sel WHERE users_id = {$u['id']}");
|
||||||
while($r = mysql_fetch_assoc($q)){
|
while($r = mysql_fetch_assoc($q)){
|
||||||
$selected[] = $r['aaid'];
|
$selected[] = $r['aaid'];
|
||||||
@ -235,9 +236,6 @@ function user_load($users_id, $accounts_id = false)
|
|||||||
unset($u['orig']);
|
unset($u['orig']);
|
||||||
/*
|
/*
|
||||||
echo "<pre>";
|
echo "<pre>";
|
||||||
echo "The user fields:\n";
|
|
||||||
print_r($fieldDat);
|
|
||||||
echo "\nThe user object:\n";
|
|
||||||
print_r($u);
|
print_r($u);
|
||||||
echo "</pre>";
|
echo "</pre>";
|
||||||
*/
|
*/
|
||||||
|
Loading…
Reference in New Issue
Block a user