Might fix a problem where is not an object.

This commit is contained in:
skeeter 2001-09-04 04:01:12 +00:00
parent 06ca22562c
commit 276153be84
2 changed files with 6 additions and 0 deletions

View File

@ -26,4 +26,5 @@
}
include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.socalendar__.inc.php');
include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.socalendar_'.$GLOBALS['phpgw_info']['server']['calendar_type'].'.inc.php');
return new socalendar_;
?>

View File

@ -28,6 +28,11 @@ class socalendar_ extends socalendar__
var $cal_event;
var $today = Array('raw','day','month','year','full','dow','dm','bd');
function socalendar_()
{
$this->socalendar__();
}
function open($calendar='',$user='',$passwd='',$options='')
{
if($user=='')