diff --git a/user.inc.php b/user.inc.php index 3a08389..2c36611 100644 --- a/user.inc.php +++ b/user.inc.php @@ -688,7 +688,7 @@ function user_save(&$u) mysql_query("DELETE FROM judges_specialaward_sel WHERE users_id = {$u['id']}"); if(count($u['special_awards']) > 0){ $query = "INSERT INTO judges_specialaward_sel (users_id, award_awards_id) VALUES (" . $u['id'] . ", "; - $query .= implode('), (' . $u['id'] . ', ', $u['specal_awards']); + $query .= implode('), (' . $u['id'] . ', ', $u['special_awards']); $query .= ")"; mysql_query($query); }