Skip to content

Commit eeba426

Browse files
committed
Version 7.0.5
1 parent 9389edf commit eeba426

File tree

5 files changed

+11
-11
lines changed

5 files changed

+11
-11
lines changed

Classes/Domain/Repository/QuizRepository.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ public function getMyLocalizedUid(int $defaultQuizUid, int $sys_language_uid)
5656
{
5757
$uid = 0;
5858
$queryBuilder = GeneralUtility::makeInstance(ConnectionPool::class)->getQueryBuilderForTable('tx_fpmasterquiz_domain_model_quiz');
59-
$statement = $queryBuilder
59+
$result = $queryBuilder
6060
->select('uid')
6161
->from('tx_fpmasterquiz_domain_model_quiz')
6262
->where(
@@ -66,8 +66,8 @@ public function getMyLocalizedUid(int $defaultQuizUid, int $sys_language_uid)
6666
$queryBuilder->expr()->eq('sys_language_uid', $queryBuilder->createNamedParameter($sys_language_uid, Connection::PARAM_INT))
6767
)
6868
->setMaxResults(1)
69-
->executeQuery();
70-
while ($row = $statement->fetchAllAssociative()) {
69+
->executeQuery()->fetchAllAssociative();
70+
foreach ($result as $row) {
7171
$uid = $row['uid'];
7272
}
7373
return $uid;

Documentation/ChangeLog/Index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,5 +269,5 @@ ChangeLog
269269
Bugfix: the Ajax-version is now working again.
270270

271271
7.0.4/5:
272-
Bugfix: get FE-users entry.
272+
Bugfix: get FE-users entry + get foreign entries.
273273
Bootstrap: added class text-end where text-right is used.

Documentation/Localization.de_DE.tmpl/ChangeLog/Index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -180,5 +180,5 @@ Deutsche Dokumentation hinzugefügt.
180180
Bugfix: die Ajax-version läuft nun wieder.
181181

182182
7.0.4/5:
183-
Bugfix: FE-users Abfrage.
183+
Bugfix: FE-users + Sprach-Abfrage.
184184
Bootstrap: Klasse text-end da hinzugefügt wo text-right verwendet wird.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ Changes in 7.0.2/3:
3535
- Bugfix: documentation.
3636

3737
Changes in 7.0.4/5:
38-
- Bugfix: get FE-users entry.
38+
- Bugfix: get FE-users entry + get foreign entries.
3939
- Bootstrap: added class text-end where text-right is used.
4040

4141
You find the whole changelog here:

Resources/Private/Backend/Templates/Quiz/Index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ <h1><f:translate key="LLL:EXT:fp_masterquiz/Resources/Private/Language/locallang
2626
<f:for each="{otherQuizArray}" as="otherQuiz">
2727
<f:if condition="{otherQuiz.l10n_parent} == {quiz.uid}">
2828
<tr>
29-
<td style="background-color: #e8e8e8;">- {otherQuiz.name}</td>
30-
<td style="background-color: #e8e8e8;">{otherQuiz.about}</td>
31-
<td style="background-color: #e8e8e8;"><f:link.action action="detail" arguments="{quiz : otherQuiz.uid}"><f:translate key="LLL:EXT:fp_masterquiz/Resources/Private/Language/locallang_mod1.xlf:detail-prop" /></f:link.action></td>
32-
<td style="background-color: #e8e8e8;">-</td>
33-
<td style="background-color: #e8e8e8;">-</td>
29+
<td style="background-color: #a8a8a8;">- {otherQuiz.name}</td>
30+
<td style="background-color: #a8a8a8;">{otherQuiz.about}</td>
31+
<td style="background-color: #a8a8a8;"><f:link.action action="detail" arguments="{quiz : otherQuiz.uid}"><f:translate key="LLL:EXT:fp_masterquiz/Resources/Private/Language/locallang_mod1.xlf:detail-prop" /></f:link.action></td>
32+
<td style="background-color: #a8a8a8;">-</td>
33+
<td style="background-color: #a8a8a8;">-</td>
3434
</tr>
3535
</f:if>
3636
</f:for>

0 commit comments

Comments
 (0)