"fixed not working multiget report (caused by .ics extension of calendar ressources)"

This commit is contained in:
Ralf Becker 2009-03-20 08:57:17 +00:00
parent b587bab7d1
commit 18372ab45e

View File

@ -244,7 +244,7 @@ class calendar_groupdav extends groupdav_handler
if ($option['name'] == 'href')
{
$parts = explode('/',$option['data']);
if (is_numeric($id = array_pop($parts))) $ids[] = $id;
if (is_numeric($id = basename(array_pop($parts),'.ics'))) $ids[] = $id;
}
}
}