forked from extern/egroupware
Might fix a problem where is not an object.
This commit is contained in:
parent
06ca22562c
commit
276153be84
@ -26,4 +26,5 @@
|
|||||||
}
|
}
|
||||||
include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.socalendar__.inc.php');
|
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');
|
include(PHPGW_INCLUDE_ROOT.'/calendar/inc/class.socalendar_'.$GLOBALS['phpgw_info']['server']['calendar_type'].'.inc.php');
|
||||||
|
return new socalendar_;
|
||||||
?>
|
?>
|
||||||
|
@ -28,6 +28,11 @@ class socalendar_ extends socalendar__
|
|||||||
var $cal_event;
|
var $cal_event;
|
||||||
var $today = Array('raw','day','month','year','full','dow','dm','bd');
|
var $today = Array('raw','day','month','year','full','dow','dm','bd');
|
||||||
|
|
||||||
|
function socalendar_()
|
||||||
|
{
|
||||||
|
$this->socalendar__();
|
||||||
|
}
|
||||||
|
|
||||||
function open($calendar='',$user='',$passwd='',$options='')
|
function open($calendar='',$user='',$passwd='',$options='')
|
||||||
{
|
{
|
||||||
if($user=='')
|
if($user=='')
|
||||||
|
Loading…
Reference in New Issue
Block a user