mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
minor changes to work for both email/squirrelmail
This commit is contained in:
parent
d2b0d33199
commit
fdd6c6e954
@ -14,7 +14,7 @@
|
||||
|
||||
/* $Id$ */
|
||||
|
||||
global $msgtype, $owner, $rights;
|
||||
global $owner, $rights, $calendar_id;
|
||||
|
||||
$d1 = strtolower(substr($phpgw_info['server']['app_inc'],0,3));
|
||||
if($d1 == 'htt' || $d1 == 'ftp')
|
||||
@ -31,9 +31,10 @@
|
||||
|
||||
$str = '';
|
||||
|
||||
$msg_type = explode(';',$msgtype);
|
||||
$id_array = explode('=',$msg_type[2]);
|
||||
$id = intval(substr($id_array[1],1,strlen($id_array[1])-2));
|
||||
// $msg_type = explode(';',$msgtype);
|
||||
// $id_array = explode('=',$msg_type[2]);
|
||||
// $id = intval(substr($id_array[1],1,strlen($id_array[1])-2));
|
||||
$id = $calendar_id;
|
||||
|
||||
echo 'Event ID: '.$id."<br>\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user