forked from science-ation/science-ation
fix typo
This commit is contained in:
parent
1b098f85b3
commit
a8b0adce05
@ -688,7 +688,7 @@ function user_save(&$u)
|
|||||||
mysql_query("DELETE FROM judges_specialaward_sel WHERE users_id = {$u['id']}");
|
mysql_query("DELETE FROM judges_specialaward_sel WHERE users_id = {$u['id']}");
|
||||||
if(count($u['special_awards']) > 0){
|
if(count($u['special_awards']) > 0){
|
||||||
$query = "INSERT INTO judges_specialaward_sel (users_id, award_awards_id) VALUES (" . $u['id'] . ", ";
|
$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 .= ")";
|
$query .= ")";
|
||||||
mysql_query($query);
|
mysql_query($query);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user