Skip to content

Commit 86d9a80

Browse files
kitzbergerdkd-kaehm
authored andcommitted
[BUGFIX] GeneralUtility::trimExplode(): Argument #2 ($string) must be of type string, int given
Resolves: #4370
1 parent 6210370 commit 86d9a80

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Classes/FieldProcessor/PageUidToHierarchy.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ public function process(array $values): array
6060
$results = [];
6161

6262
foreach ($values as $value) {
63-
$rootPageUidAndMountPoint = GeneralUtility::trimExplode(',', $value, true, 2);
63+
$rootPageUidAndMountPoint = GeneralUtility::trimExplode(',', (string)$value, true, 2);
6464
$results[] = $this->getSolrRootlineForPageId(
6565
(int)$rootPageUidAndMountPoint[0],
6666
$rootPageUidAndMountPoint[1] ?? '',

0 commit comments

Comments
 (0)