diff options
author | Igor Scheller <igor.scheller@igorshp.de> | 2018-10-14 00:26:05 +0200 |
---|---|---|
committer | msquare <msquare@notrademark.de> | 2018-10-31 13:43:23 +0100 |
commit | 57932be4287d0ea6235137f1a86f07cbb06dd35b (patch) | |
tree | a059d6eb765ad511c6e2224211aab3bb0a57abdf /includes/pages/user_settings.php | |
parent | 4e09ee3eb255160c88a378375d69123a3e000497 (diff) |
Moved arrival_date to state
Diffstat (limited to 'includes/pages/user_settings.php')
-rw-r--r-- | includes/pages/user_settings.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/pages/user_settings.php b/includes/pages/user_settings.php index fbcd8baf..bc97099e 100644 --- a/includes/pages/user_settings.php +++ b/includes/pages/user_settings.php @@ -57,7 +57,7 @@ function user_settings_main($user_source, $enable_tshirt_size, $tshirt_sizes) if ($request->has('planned_departure_date')) { $tmp = parse_date('Y-m-d H:i', $request->input('planned_departure_date') . ' 00:00'); - $result = User_validate_planned_departure_date($user_source->personalData->arrival_date->getTimestamp(), $tmp); + $result = User_validate_planned_departure_date($user_source->state->arrival_date->getTimestamp(), $tmp); $user_source->personalData->planned_departure_date = Carbon::createFromTimestamp($result->getValue()); if (!$result->isValid()) { $valid = false; |