From 38af4a78f39165aae8e1094b1d19d0bc6a7cb216 Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Fri, 26 Feb 2010 14:37:12 +0100 Subject: [PATCH] We don't have a work-week view yet, fall back to work view. --- kronolith/lib/Kronolith.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index 83872350c..33efecfec 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -197,7 +197,7 @@ class Kronolith 'name' => $registry->get('name'), 'has_tasks' => $has_tasks, 'is_ie6' => ($GLOBALS['browser']->isBrowser('msie') && ($GLOBALS['browser']->getMajor() < 7)), - 'login_view' => $prefs->getValue('defaultview'), + 'login_view' => $prefs->getValue('defaultview') == 'workweek' ? 'week' : $prefs->getValue('defaultview'), 'default_calendar' => 'internal|' . self::getDefaultCalendar(Horde_Perms::EDIT), 'week_start' => (int)$prefs->getValue('week_start_monday'), 'date_format' => str_replace(array('%e', '%d', '%a', '%A', '%m', '%h', '%b', '%B', '%y', '%Y'), -- 2.11.0