From: Michael Date: Tue, 7 Nov 2017 21:48:41 +0000 (+0000) Subject: Here as well X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=ab73dbf34631bd728debaacb2de2a26c39d4e8e0;p=friendica.git Here as well --- diff --git a/include/datetime.php b/include/datetime.php index f525f1234d..faedaf33dc 100644 --- a/include/datetime.php +++ b/include/datetime.php @@ -280,10 +280,7 @@ function timesel($format, $h, $m, $id = 'timepicker') { function datetimesel($format, $min, $max, $default, $label, $id = 'datetimepicker', $pickdate = true, $picktime = true, $minfrom = '', $maxfrom = '', $required = false) { // First day of the week (0 = Sunday) - $firstDay = PConfig::get(local_user(), 'system', 'first_day_of_week'); - if ($firstDay === false) { - $firstDay=0; - } + $firstDay = PConfig::get(local_user(), 'system', 'first_day_of_week', 0); $lang = substr(get_browser_language(), 0, 2);