[BUGFIX] AdminPanel: Change fields for simulate time 38/53238/2
authorThorben Nissen <thorben.nissen@kapp-hamburg.de>
Fri, 16 Jun 2017 06:32:19 +0000 (08:32 +0200)
committerBenni Mack <benni@typo3.org>
Fri, 16 Jun 2017 16:35:21 +0000 (18:35 +0200)
commitddb6f31843f78e95ac1cf283bf1d40f8cbd25836
tree89ef100f3c61c4814478ab6df15b62ad1ea2eed5
parent68968215bb0d5c2820bb505dd9a552fddb87d95b
[BUGFIX] AdminPanel: Change fields for simulate time

When entering a date string in the admin panel to simulate a certain
date/time and clicking the "update" button an exception it thrown. Due to
the names and ordering of the fields, the timestamp from the hidden field
gets overridden by the date string.

Move the hidden timestamp field after the human readable date string field
to avoid the timestamp being overridden by the date string. Add a comment
to explain the ordering and avoid future changes.

Resolves: #81174
Releases: master, 8.7
Change-Id: I87236c9b8ef84dabb3ec63e0530f14582ecbe6fe
Reviewed-on: https://review.typo3.org/53238
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/frontend/Classes/View/AdminPanelView.php