Merge pull request #676 from albig/fix-675

Fix wrong table in where clause
This commit is contained in:
Alexander Bigga 2021-10-04 15:58:34 +02:00 committed by GitHub
commit d513ec0302
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -133,7 +133,7 @@ class DocumentTypeFunctionProvider implements ExpressionFunctionProviderInterfac
->from('tx_dlf_documents')
->where(
$queryBuilder->expr()->eq('tx_dlf_documents.record_id', $queryBuilder->expr()->literal($piVars['recordId'])),
Helper::whereExpression('tx_documents')
Helper::whereExpression('tx_dlf_documents')
)
->setMaxResults(1)
->execute();