Skip to content

Commit 18761e5

Browse files
committed
hotfix template filter for clearAll
#1284
1 parent 6a8b3f0 commit 18761e5

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/FrontendIntegration/FrontendFilter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ protected function generateElement($table, $content, $replace, $elementId)
446446
*/
447447
public function generateClearAll($strContent, $strTemplate)
448448
{
449-
if (substr($strTemplate, 0, 7) === 'fe_page') {
449+
if (substr($strTemplate, 0, 3) === 'fe_') {
450450
if (preg_match_all(
451451
'#\[\[\[metamodelfrontendfilterclearall::(ce|mod)::([^\]]*)\]\]\]#',
452452
$strContent,

0 commit comments

Comments
 (0)