From: Alexander Ebert Date: Thu, 14 Jul 2016 13:23:40 +0000 (+0200) Subject: Fixed variable reference X-Git-Tag: 3.0.0_Beta_1~1148 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e7e4e4af44ebd1fd2461d36b61d7f454b540f02d;p=GitHub%2FWoltLab%2FWCF.git Fixed variable reference --- diff --git a/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js b/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js index 00804f2b85..928f4b118a 100644 --- a/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js +++ b/wcfsetup/install/files/js/WoltLab/WCF/Date/Picker.js @@ -56,7 +56,7 @@ define(['DateUtil', 'Language', 'ObjectMap', 'Dom/ChangeListener', 'Ui/Alignment // convert value var date = null, value = elAttr(element, 'value'); if (elAttr(element, 'value')) { - if (isDateTime) { + if (isTimeOnly) { date = new Date(); var tmp = value.split(':'); date.setHours(tmp[0], tmp[1]);