mirror of
https://github.com/nextcloud/server.git
synced 2026-06-10 17:23:59 -04:00
fix for previous commit
This commit is contained in:
parent
4b3af1f73b
commit
91d92aed02
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue