Skip to content

Commit

Permalink
fix: issue when () are used in metas on Ibexa 4.6
Browse files Browse the repository at this point in the history
  • Loading branch information
Florian ALEXANDRE committed Jun 24, 2024
1 parent b00a797 commit 93d8588
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions components/SEOBundle/bundle/Core/MetaNameSchema.php
Original file line number Diff line number Diff line change
Expand Up @@ -331,4 +331,15 @@ protected function handleImageAssetValue(ImageAssetValue $value, $fieldDefinitio

return '';
}

/**
* Override native function as this prevent usage of `()` inside metas in Ibexa 4.6
* {@inheritDoc}
*/
protected function filterNameSchema($nameSchema)
{
$groupLookupTable = [];

return [$nameSchema, $groupLookupTable];
}
}

0 comments on commit 93d8588

Please sign in to comment.