mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 20:49:08 +01:00
Fix for php3 support.
This commit is contained in:
parent
f0123f6cf5
commit
7a78f0f55d
@ -1536,12 +1536,12 @@
|
||||
case MSG_MODIFIED:
|
||||
$action = 'Modified';
|
||||
$event_id = $old_event['id'];
|
||||
$msgtype = '"calendar"; Version="'.$version.'"; Id="'.$new_event->id.'"';
|
||||
$msgtype = '"calendar"; Version="'.$version.'"; Id="'.$new_event['id'].'"';
|
||||
break;
|
||||
case MSG_ADDED:
|
||||
$action = 'Added';
|
||||
$event_id = $new_event['id'];
|
||||
$msgtype = '"calendar"; Version="'.$version.'"; Id="'.$new_event->id.'"';
|
||||
$msgtype = '"calendar"; Version="'.$version.'"; Id="'.$new_event['id'].'"';
|
||||
break;
|
||||
case MSG_REJECTED:
|
||||
$action = 'Rejected';
|
||||
|
@ -1705,7 +1705,8 @@
|
||||
|
||||
unset($GLOBALS['phpgw_info']['flags']['noheader']);
|
||||
unset($GLOBALS['phpgw_info']['flags']['nonavbar']);
|
||||
$GLOBALS['phpgw_info']['flags']['nofooter'] = True;
|
||||
$GLOBALS['phpgw_info']['flags']['noappheader'] = True;
|
||||
$GLOBALS['phpgw_info']['flags']['noappfooter'] = True;
|
||||
$GLOBALS['phpgw']->common->phpgw_header();
|
||||
|
||||
$p = CreateObject('phpgwapi.Template',$this->template_dir);
|
||||
@ -2153,7 +2154,7 @@
|
||||
'data' => $event['public']==True?'False':'True'
|
||||
);
|
||||
|
||||
if($event->groups[0])
|
||||
if(@isset($event['groups'][0]))
|
||||
{
|
||||
$cal_grps = '';
|
||||
for($i=0;$i<count($event['groups']);$i++)
|
||||
|
Loading…
Reference in New Issue
Block a user