default value for firstDay in events page

This commit is contained in:
fabrixxm 2015-10-12 20:23:09 +02:00
parent 8bf3a36737
commit 5299f25920

View File

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