BUGFIX: Workaround doctrine limitation

Doctrine will not implode our array, so we have to do
This commit is contained in:
Daniel Siepmann 2018-03-15 14:42:41 +01:00
parent 22e097ca85
commit 2b78ffbe96
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4

View file

@ -174,7 +174,7 @@ class TcaTableService implements TcaTableServiceInterface
} }
if ($this->isBlackListedRootLineConfigured()) { if ($this->isBlackListedRootLineConfigured()) {
$parameters[':blacklistedRootLine'] = $this->getBlackListedRootLine(); $parameters[':blacklistedRootLine'] = implode(',', $this->getBlackListedRootLine());
$whereClause .= ' AND pages.uid NOT IN (:blacklistedRootLine)' $whereClause .= ' AND pages.uid NOT IN (:blacklistedRootLine)'
. ' AND pages.pid NOT IN (:blacklistedRootLine)'; . ' AND pages.pid NOT IN (:blacklistedRootLine)';
} }