fix user update problem

This commit is contained in:
Philip Häusler 2015-08-11 12:04:22 +02:00
parent 1dcd6c0f3f
commit 18585285a3
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ function User_update($user) {
`Sprache`='" . sql_escape($user['Sprache']) . "', `Sprache`='" . sql_escape($user['Sprache']) . "',
`Hometown`='" . sql_escape($user['Hometown']) . "', `Hometown`='" . sql_escape($user['Hometown']) . "',
`got_voucher`=" . sql_bool($user['got_voucher']) . ", `got_voucher`=" . sql_bool($user['got_voucher']) . ",
`arrival_date`='" . sql_escape($user['arrival_date']) . "' `arrival_date`='" . sql_escape($user['arrival_date']) . "',
`planned_arrival_date`='" . sql_escape($user['planned_arrival_date']) . "' `planned_arrival_date`='" . sql_escape($user['planned_arrival_date']) . "'
WHERE `UID`='" . sql_escape($user['UID']) . "'"); WHERE `UID`='" . sql_escape($user['UID']) . "'");
} }