Skip to content
This repository was archived by the owner on May 4, 2021. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Classes/Hooks/Tca/AddFilesToSelector.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class AddFilesToSelector {
function main(&$params,&$pObj) {

// get the current page ID
$thePageId = $params['row']['pid'];
$thePageId = $params['flexParentDatabaseRow']['pid'];

/** @var TemplateService $template */
$template = GeneralUtility::makeInstance('TYPO3\\CMS\\Core\\TypoScript\\TemplateService');
Expand Down Expand Up @@ -89,4 +89,4 @@ function main(&$params,&$pObj) {
}
}
}
}
}