|
@@ -4,7 +4,7 @@ discard block |
|
|
block discarded – undo |
|
4
|
4
|
use Eluceo\iCal\Component\Event; |
|
5
|
5
|
use Oc\GeoCache\Persistence\GeoCache\GeoCacheRepository; |
|
6
|
6
|
|
|
7
|
|
-$cacheId = (int) $_GET['cacheId']; |
|
|
7
|
+$cacheId = (int)$_GET['cacheId']; |
|
8
|
8
|
|
|
9
|
9
|
require __DIR__ . '/lib2/web.inc.php'; |
|
10
|
10
|
|
|
@@ -36,6 +36,6 @@ discard block |
|
|
block discarded – undo |
|
36
|
36
|
|
|
37
|
37
|
|
|
38
|
38
|
header('Content-Type: text/calendar; charset=utf-8'); |
|
39
|
|
-header('Content-Disposition: attachment; filename="'.$geoCache->wpOc.'.ics"'); |
|
|
39
|
+header('Content-Disposition: attachment; filename="' . $geoCache->wpOc . '.ics"'); |
|
40
|
40
|
|
|
41
|
41
|
echo $vCalendar->render(); |
Please login to merge, or discard this patch.