diff options
author | Philip Häusler <msquare@notrademark.de> | 2015-07-12 14:45:58 +0200 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2015-07-12 14:45:58 +0200 |
commit | 8c518d4c3496ce9c72e4eed400923bd978b4e6a5 (patch) | |
tree | 6d28b53c22f9716d79398f5616a634ed2db3a08b /includes/model | |
parent | 66c7e67a038b24ef9788d2550da15b2209c08123 (diff) |
add arrival date feature
Diffstat (limited to 'includes/model')
-rw-r--r-- | includes/model/User_model.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/includes/model/User_model.php b/includes/model/User_model.php index 9df72748..ce760552 100644 --- a/includes/model/User_model.php +++ b/includes/model/User_model.php @@ -29,8 +29,10 @@ function User_update($user) { `color`='" . sql_escape($user['color']) . "', `Sprache`='" . sql_escape($user['Sprache']) . "', `Hometown`='" . sql_escape($user['Hometown']) . "', - `got_voucher`=" . sql_bool($user['got_voucher']) . " - WHERE `UID`='" . sql_escape($user['UID']). "'"); + `got_voucher`=" . sql_bool($user['got_voucher']) . ", + `arrival_date`='" . sql_escape($user['arrival_date']) . "' + `planned_arrival_date`='" . sql_escape($user['planned_arrival_date']) . "' + WHERE `UID`='" . sql_escape($user['UID']) . "'"); } /** |