diff --git a/user.inc.php b/user.inc.php index 3c3e5d81..8ddb7211 100644 --- a/user.inc.php +++ b/user.inc.php @@ -125,6 +125,7 @@ function user_load($user) LEFT JOIN `users_judge` ON `users_judge`.`users_id`=`users`.`id` LEFT JOIN `users_volunteer` ON `users_volunteer`.`users_id`=`users`.`id` LEFT JOIN `users_fair` ON `users_fair`.`users_id`=`users`.`id` + LEFT JOIN `users_sponsor` ON `users_sponsor`.`users_id`=`users`.`id` WHERE `users`.`id`='$id' AND `users`.`deleted`='no' "; $q=mysql_query($query);