Fix broken insert tag.

This commit is contained in:
David Molineus
2015-11-12 08:37:48 +01:00
parent f15e1cf99d
commit 2f8ddf3a30

View File

@@ -84,7 +84,7 @@ class LeafletInsertTagParser implements Parser
$style = empty($parts[1]) ? 'width:400px;height:300px' : $parts[1];
$template = empty($parts[2]) ? 'leaflet_map_html' : $parts[2];
return $this->generateMap($parts[1], $template, $style);
return $this->generateMap($parts[0], $template, $style);
}
/**