Skip to content

Commit c27ac53

Browse files
Fix bug in track view introduced by previous commit
1 parent 19685c7 commit c27ac53

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

components/com_jtg/views/track/view.html.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ public function display($tpl = null)
210210
$makepreview = false;
211211
if ($this->getLayout() == 'form') $makepreview = true;
212212
$mapids = [$this->track->default_map];
213-
$this->mapJS = JtgMapHelper::parseTrackMapJS($gpsData,$this->track->id, $this->track->default_map, $this->imageList, $makepreview, true, JComponentHelper::getParams('com_jtg')->get('jtg_param_show_layerswitcher'),'jtg_map');
213+
$this->mapJS = JtgMapHelper::parseTrackMapJS($gpsData,$this->track->id, $this->track->default_map, $this->imageList, $makepreview, true, JComponentHelper::getParams('com_jtg')->get('jtg_param_show_layerswitcher'),array(),'jtg_map');
214214

215215
$this->gpsTrack = $gpsData;
216216
$this->coords = $gpsData->allCoords;

0 commit comments

Comments
 (0)