Skip to content
Snippets Groups Projects
Commit 91d92aed authored by Georg Ehrke's avatar Georg Ehrke
Browse files

fix for previous commit

parent 4b3af1f7
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ if($shared['type'] == OC_Calendar_Share::CALENDAR){
header('Content-Disposition: inline; filename=' . str_replace(' ', '-', $calendar['displayname']) . '.ics');
echo OC_Calendar_Export::export($shared['id'], OC_Calendar_Export::CALENDAR);
}elseif($shared['type'] == OC_Calendar_Share::EVENT){
$data = OC_Calendar_App::getEventObject($shared['id'], false);
if(!$data){
header('HTTP/1.0 404 Not Found');
exit;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment