aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Ehrke <dev@georgswebsite.de>2012-06-28 19:13:43 +0200
committerGeorg Ehrke <dev@georgswebsite.de>2012-06-28 19:13:43 +0200
commit91d92aed0284a0af83fd656a51deb9335e6b4703 (patch)
treea53dc45dc8733cafae4b287d8d47e8432f50f97a
parent4b3af1f73be4d2d6e9a3fed0cbe7a35e774359f7 (diff)
downloadnextcloud-server-91d92aed0284a0af83fd656a51deb9335e6b4703.tar.gz
nextcloud-server-91d92aed0284a0af83fd656a51deb9335e6b4703.zip
fix for previous commit
-rw-r--r--apps/calendar/share.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/calendar/share.php b/apps/calendar/share.php
index f8f9bb8ea42..bffcf0b4709 100644
--- a/apps/calendar/share.php
+++ b/apps/calendar/share.php
@@ -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;