Case sensitive method call.

This commit is contained in:
David Molineus
2016-10-05 09:45:31 +02:00
parent 5da4c047b0
commit 749b8f3068

View File

@@ -69,7 +69,7 @@ class AbstractVectorMapper extends AbstractTypeMapper
parent::build($definition, $model, $mapper, $filter); parent::build($definition, $model, $mapper, $filter);
if ($definition instanceof Path && $model->style) { if ($definition instanceof Path && $model->style) {
$styleModel = StyleModel::findActiveByPk($model->style); $styleModel = StyleModel::findActiveByPK($model->style);
if ($styleModel) { if ($styleModel) {
$style = $mapper->handle($styleModel); $style = $mapper->handle($styleModel);