Commit a698df7d authored by Thomas Löffler's avatar Thomas Löffler
Browse files

Correct parameter in select() method

parent 1673cf87
......@@ -603,7 +603,7 @@ class Ldap implements \Psr\Log\LoggerAwareInterface
$fromTable = 'static_countries';
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable($fromTable);
$ret = $queryBuilder->select($selectFields)
$ret = $queryBuilder->select(...$selectFields)
$queryBuilder->expr()->eq('cn_short_en', $queryBuilder->createNamedParameter($countryName))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment