Skip to content

Commit

Permalink
Dropped usage of removed property NodeFactory::$allowedContentTypes
Browse files Browse the repository at this point in the history
  • Loading branch information
alongosz committed Jun 5, 2024
1 parent 166431c commit ba0073c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lib/UI/Module/ContentTree/NodeFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@ private function getSearchQuery(int $parentLocationId, ?Criterion $requestFilter
$contentTypeCriterion = new Criterion\ContentTypeIdentifier($this->getSetting('allowed_content_types'));
}

if (empty($this->allowedContentTypes) && !empty($this->getSetting('ignored_content_types'))) {
if (!empty($this->getSetting('ignored_content_types'))) {
$contentTypeCriterion = new Criterion\LogicalNot(
new Criterion\ContentTypeIdentifier($this->getSetting('ignored_content_types'))
);
Expand Down

0 comments on commit ba0073c

Please sign in to comment.