Do not force filter.

This commit is contained in:
David Molineus
2015-01-27 19:10:14 +01:00
parent 6db101953f
commit a59decd946

View File

@@ -76,8 +76,12 @@ class AbstractVectorMapper extends AbstractTypeMapper
*
* @return void
*/
protected function buildPopup(Definition $definition, \Model $model, DefinitionMapper $mapper, Filter $filter)
{
protected function buildPopup(
Definition $definition,
\Model $model,
DefinitionMapper $mapper,
Filter $filter = null
) {
if ($definition instanceof HasPopup && $model->addPopup) {
$popup = null;
$content = $this