Skip to content

Commit

Permalink
Update T3sbConditionFunctionsProvider.php
Browse files Browse the repository at this point in the history
  • Loading branch information
t3solution authored Apr 11, 2024
1 parent 83900b2 commit 99d3d84
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ protected function getColPosList(): ExpressionFunction
$configRepository = GeneralUtility::makeInstance(ConfigRepository::class);
$config = $configRepository->findOneByPid($pid);

if (empty($config)) {
if (empty($config) && is_array($arguments['tree']->rootLineIds)) {
$rootLineIdsArray = array_reverse($arguments['tree']->rootLineIds);
unset($rootLineIdsArray[count($rootLineIdsArray)-1]);
unset($rootLineIdsArray[0]);
Expand Down

0 comments on commit 99d3d84

Please sign in to comment.