From d5bfd7d34fdfa7c5ba68d71697e21d67fc7b9f6f Mon Sep 17 00:00:00 2001 From: skeeter Date: Thu, 15 Feb 2001 04:16:06 +0000 Subject: [PATCH] change of the initialization of the calendar --- calendar/inc/functions.inc.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/calendar/inc/functions.inc.php b/calendar/inc/functions.inc.php index 898634d1f7..f1e1ad3947 100755 --- a/calendar/inc/functions.inc.php +++ b/calendar/inc/functions.inc.php @@ -40,17 +40,17 @@ $rights = $grants[$owner]; if ($rights == 0) { - $owner = $phpgw_info['user']['account_id']; - $rights = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + 16; + $owner = $phpgw_info['user']['account_id']; + $rights = PHPGW_ACL_READ + PHPGW_ACL_ADD + PHPGW_ACL_EDIT + PHPGW_ACL_DELETE + 16; } } } /* Load calendar class */ $parameters = Array( - 'printer_friendly' => ((isset($friendly) && ($friendly==1))?True:False), - 'owner' => $owner, - 'rights' => $rights + 'printer_friendly' => ((isset($friendly) && ($friendly==1))?True:False), + 'owner' => $owner, + 'rights' => $rights ); $phpgw->calendar = CreateObject('calendar.calendar',$parameters);