Skip to content

Commit

Permalink
Fix check if fulltext file group exists in ToolboxController
Browse files Browse the repository at this point in the history
  • Loading branch information
beatrycze-volk committed May 31, 2024
1 parent 5de709f commit 56b4ffe
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Classes/Controller/ToolboxController.php
Original file line number Diff line number Diff line change
Expand Up @@ -498,8 +498,8 @@ private function isFullTextEmpty(): bool
{
$fileGrpsFulltext = GeneralUtility::trimExplode(',', $this->extConf['files']['fileGrpFulltext']);
while ($fileGrpFulltext = array_shift($fileGrpsFulltext)) {
$fullTextFile = $this->currentDocument->physicalStructureInfo[$this->currentDocument->physicalStructure[$this->requestData['page']]]['files'][$fileGrpFulltext];
if (!empty($fullTextFile)) {
$files = $this->currentDocument->physicalStructureInfo[$this->currentDocument->physicalStructure[$this->requestData['page']]]['files'];
if (!empty($files[$fileGrpFulltext])) {
break;
}
}
Expand Down

0 comments on commit 56b4ffe

Please sign in to comment.