Skip to content

Commit 6427b5d

Browse files
committed
[BUGFIX] Add AsAllowedCallable to ContentWhere
Fixes: #458
1 parent 983f2d0 commit 6427b5d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Classes/UserFunction/ContentWhere.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
namespace TYPO3\CMS\ContentBlocks\UserFunction;
1919

2020
use Symfony\Component\DependencyInjection\Attribute\Autoconfigure;
21+
use TYPO3\CMS\Core\Attribute\AsAllowedCallable;
2122

2223
/**
2324
* @internal
@@ -29,6 +30,7 @@ public function __construct(
2930
protected array $parentFieldNames
3031
) {}
3132

33+
#[AsAllowedCallable]
3234
public function extend(string $where): string
3335
{
3436
$columns = array_map(

0 commit comments

Comments
 (0)