make departure date nullable
This commit is contained in:
parent
918d41ca70
commit
53a306f14b
|
@ -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']) . "'");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue