From 56c4f47c30cd50e0272ac6538383848e56285de4 Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Thu, 12 Jun 2008 07:03:06 +0000 Subject: [PATCH] wrong weekdays after autoloading of so class (happens after using the constants) --- calendar/inc/class.calendar_bo.inc.php | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/calendar/inc/class.calendar_bo.inc.php b/calendar/inc/class.calendar_bo.inc.php index 1f1153ddb0..8bf2b23d4b 100644 --- a/calendar/inc/class.calendar_bo.inc.php +++ b/calendar/inc/class.calendar_bo.inc.php @@ -25,6 +25,11 @@ define('WEEK_s',7*DAY_s); */ define('EGW_ACL_READ_FOR_PARTICIPANTS',EGW_ACL_CUSTOM_1); +/** + * Required (!) include, as we use the MCAL_* constants, BEFORE instanciating (and therefore autoloading) the class + */ +require_once(EGW_INCLUDE_ROOT.'/calendar/inc/class.calendar_so.inc.php'); + /** * Class to access all calendar data *