From f1669d54249c1d235a0bb7db1af9cbbedc0e4cee Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Tue, 16 May 2006 04:08:12 +0000 Subject: [PATCH] fix for bug [ 1489004 ] Preselected group not upgraded --- calendar/inc/class.uical.inc.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/calendar/inc/class.uical.inc.php b/calendar/inc/class.uical.inc.php index c1497357ad..f10b1cfcb9 100644 --- a/calendar/inc/class.uical.inc.php +++ b/calendar/inc/class.uical.inc.php @@ -309,6 +309,8 @@ class uical // if planner_start_with_group is set in the users prefs: switch owner for planner to planner_start_with_group and back if ($this->cal_prefs['planner_start_with_group']) { + if ($this->cal_prefs['planner_start_with_group'] > 0) $this->cal_prefs['planner_start_with_group'] *= -1; // fix old 1.0 pref + if (!$states_session && !$_GET['menuaction']) $this->view = ''; // first call to calendar if ($func == 'planner' && $this->view != 'planner' && $this->owner == $this->user)