Merge pull request #1958 from fabrixxm/event_firstday

default value for firstDay in events page
This commit is contained in:
Tobias Diekershoff 2015-10-12 21:17:03 +02:00
commit c0d0298b0f

View file

@ -190,6 +190,7 @@ function events_content(&$a) {
// First day of the week (0 = Sunday) // First day of the week (0 = Sunday)
$firstDay = get_pconfig(local_user(),'system','first_day_of_week'); $firstDay = get_pconfig(local_user(),'system','first_day_of_week');
if ($firstDay === false) $firstDay=0;
$i18n = array( $i18n = array(
"firstDay" => $firstDay, "firstDay" => $firstDay,