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);