make departure date nullable

This commit is contained in:
msquare 2016-11-15 16:36:03 +01:00
parent 918d41ca70
commit 53a306f14b
1 changed files with 1 additions and 1 deletions

View File

@ -42,7 +42,7 @@ function User_update($user) {
`got_voucher`='" . sql_escape($user['got_voucher']) . "', `got_voucher`='" . sql_escape($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']) . "',
`planned_departure_date`='" . sql_escape($user['planned_departure_date']) . "' `planned_departure_date`=" . sql_null($user['planned_departure_date']) . "
WHERE `UID`='" . sql_escape($user['UID']) . "'"); WHERE `UID`='" . sql_escape($user['UID']) . "'");
} }