minor changes to work for both email/squirrelmail

This commit is contained in:
skeeter 2001-03-14 02:58:27 +00:00
parent d2b0d33199
commit fdd6c6e954

View File

@ -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";