Completed
Push — development ( ec6fa2...866312 )
by Thomas
04:34
created
htdocs/ics.php 1 patch
Spacing   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -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.