From 749b8f3068584a8af932bd5f51ea507e76ad5352 Mon Sep 17 00:00:00 2001 From: David Molineus Date: Wed, 5 Oct 2016 09:45:31 +0200 Subject: [PATCH] Case sensitive method call. --- .../Contao/Leaflet/Mapper/Vector/AbstractVectorMapper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Netzmacht/Contao/Leaflet/Mapper/Vector/AbstractVectorMapper.php b/src/Netzmacht/Contao/Leaflet/Mapper/Vector/AbstractVectorMapper.php index 6eb04e8..513834f 100644 --- a/src/Netzmacht/Contao/Leaflet/Mapper/Vector/AbstractVectorMapper.php +++ b/src/Netzmacht/Contao/Leaflet/Mapper/Vector/AbstractVectorMapper.php @@ -69,7 +69,7 @@ class AbstractVectorMapper extends AbstractTypeMapper parent::build($definition, $model, $mapper, $filter); if ($definition instanceof Path && $model->style) { - $styleModel = StyleModel::findActiveByPk($model->style); + $styleModel = StyleModel::findActiveByPK($model->style); if ($styleModel) { $style = $mapper->handle($styleModel);