Skip to content

Commit 9c7f143

Browse files
committed
[BUGFIX] Add missing quote
1 parent bd62c49 commit 9c7f143

3 files changed

Lines changed: 27 additions & 1 deletion

File tree

Classes/Domain/Repository/AddressRepository.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,11 +109,12 @@ public function getSqlQuery(Demand $demand): string
109109
$queryParser = GeneralUtility::makeInstance(Typo3DbQueryParser::class);
110110

111111
$queryBuilder = $queryParser->convertQueryToDoctrineQueryBuilder($query);
112+
$connection = $queryBuilder->getConnection();
112113
$queryParameters = $queryBuilder->getParameters();
113114
$params = [];
114115
foreach ($queryParameters as $key => $value) {
115116
// prefix array keys with ':'
116-
$params[':' . $key] = (\is_numeric($value)) ? $value : "'" . $value . "'"; //all non numeric values have to be quoted
117+
$params[':' . $key] = (\is_numeric($value)) ? $value : $connection->quote($value); //all non numeric values have to be quoted
117118
unset($params[$key]);
118119
}
119120
// replace placeholders with real values

Documentation/Administration/Changelog/Index.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@ Changelog
1111
:titlesonly:
1212
:glob:
1313

14+
v/8-1-2
1415
v/8-1-1
1516
v/8-1-0
1617
v/8-0-3
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
8.1.1 - 18th May 2026
2+
======================
3+
4+
.. include:: /Includes.rst.txt
5+
6+
.. only:: html
7+
8+
.. contents::
9+
:local:
10+
:depth: 3
11+
12+
13+
All Changes
14+
-----------
15+
This is a list of all changes in this release: ::
16+
17+
2026-05-18 [BUGFIX] Add missing quote
18+
19+
20+
This list has been created by using:
21+
22+
.. code-block:: shell
23+
24+
git log $(git describe --tags --abbrev=0)..HEAD --abbrev-commit --pretty='%ad %s (Commit %h by %an)' --date=short

0 commit comments

Comments
 (0)