forked from Snck3rs/contao-leaflet-maps
Add frontend module (Close #7).
This commit is contained in:
@@ -82,7 +82,7 @@ class DefinitionMapper
|
||||
*/
|
||||
public function handle(\Model $model, LatLngBounds $bounds = null, $elementId = null)
|
||||
{
|
||||
$hash = $model->getTable() . '.' . $model->{$model->getPk()};
|
||||
$hash = $model->getTable() . '.' . $model->{$model->getPk()} . ($elementId ? ('.' . $elementId) : '');
|
||||
|
||||
if (isset($this->mapped[$hash])) {
|
||||
return $this->mapped[$hash];
|
||||
|
||||
Reference in New Issue
Block a user