From 63870b9d9ef4bf0561a2e2ba07ff8cdc3cfc95b1 Mon Sep 17 00:00:00 2001 From: Lars Kneschke Date: Wed, 6 Apr 2005 04:55:49 +0000 Subject: [PATCH] PRIVATE and PUBLIC are reserved words under PHP5 --- calendar/inc/class.boicalendar.inc.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/calendar/inc/class.boicalendar.inc.php b/calendar/inc/class.boicalendar.inc.php index d42f296367..1c61488ed3 100755 --- a/calendar/inc/class.boicalendar.inc.php +++ b/calendar/inc/class.boicalendar.inc.php @@ -39,8 +39,8 @@ define('IN_PROCESS',6); /* class */ - define('PRIVATE',0); - define('PUBLIC',1); + define('PRIVATECAL',0); + define('PUBLICCAL',1); define('CONFIDENTIAL',3); /* transparency */ @@ -1910,10 +1910,10 @@ switch($var) { case 'PRIVATE': - return PRIVATE; + return PRIVATECAL; break; case 'PUBLIC': - return PUBLIC; + return PUBLICCAL; break; case 'CONFIDENTIAL': return CONFIDENTIAL; @@ -1924,10 +1924,10 @@ { switch((int)$var) { - case PRIVATE: + case PRIVATECAL: return 'PRIVATE'; break; - case PUBLIC: + case PUBLICCAL: return 'PUBLIC'; break; case CONFIDENTIAL: