Skip to content

Commit

Permalink
[BUGFIX] Fix notice
Browse files Browse the repository at this point in the history
  • Loading branch information
georgringer authored Mar 5, 2024
1 parent 244ecd1 commit 4c41691
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion Classes/Hooks/ItemsProcFunc.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ public function user_templateLayout(array &$config): void
{
$pageId = 0;

$currentColPos = $config['flexParentDatabaseRow']['colPos'];
$currentColPos = $config['flexParentDatabaseRow']['colPos'] ?? null;
if ($currentColPos === null) {
return;
}
$pageId = $this->getPageId($config['flexParentDatabaseRow']['pid']);

if ($pageId > 0) {
Expand Down

0 comments on commit 4c41691

Please sign in to comment.