From 9b75377d5f06284068dd76d094b95e481231d27a Mon Sep 17 00:00:00 2001 From: Jan Schneider Date: Mon, 3 May 2010 17:34:43 +0200 Subject: [PATCH] Be prepared to add new calendars, if we don't have any yet. --- kronolith/lib/Kronolith.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kronolith/lib/Kronolith.php b/kronolith/lib/Kronolith.php index 11bcf2c63..23e37b9a3 100644 --- a/kronolith/lib/Kronolith.php +++ b/kronolith/lib/Kronolith.php @@ -244,6 +244,9 @@ class Kronolith $subscriptionTasks = Horde::url($registry->get('webroot', 'horde') . ($GLOBALS['conf']['urls']['pretty'] == 'rewrite' ? '/rpc/nag/' : '/rpc.php/nag/'), true, -1); // Calendars + $code['conf']['calendars']['internal'] = + $code['conf']['calendars']['tasklists'] = + $code['conf']['calendars']['remote'] = array(); foreach (array(true, false) as $my) { foreach ($GLOBALS['all_calendars'] as $id => $calendar) { if ($calendar->get('owner') != Horde_Auth::getAuth() && -- 2.11.0