Commit 69887af5 authored by Benni Mack's avatar Benni Mack
Browse files

[BUGFIX] Ensure extension repository uses proper DB field name

parent 2ed64692
Pipeline #9285 passed with stages
in 9 minutes and 27 seconds
......@@ -110,7 +110,7 @@ class RegisterkeyController extends \T3o\TerFe2\Controller\AbstractTerBasedContr
'description' => '',
];
// Register the extension key at ter server, if successfull, add it to the extension table
// Register the extension key at ter server, if successful, redirect
if ($this->terConnection->registerExtension($extensionData)) {
$this->addFlashMessage(
'',
......
......@@ -48,7 +48,7 @@ class CombinedExtensionRepository
foreach ($extensionKeys as $extensionKey) {
$keysQueryBuilder = $this->getQueryBuilder('tx_terfe2_domain_model_extension');
$extensionKeyRow = $keysQueryBuilder
->select('uid', 'frontend_user', 'downloadcounter', 'external_manual')
->select('uid', 'frontend_user', 'downloads', 'external_manual')
->from('tx_terfe2_domain_model_extension')
->where(
$keysQueryBuilder->expr()->eq('ext_key', $keysQueryBuilder->createNamedParameter($extensionKey))
......
Supports Markdown
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