git.cweiske.de
/
paste
/
758.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8ce38a4
)
(no commit message)
master
author
Christian Weiske
<cweiske@cweiske.de>
Thu, 16 Sep 2021 09:16:11 +0000
(11:16 +0200)
committer
www-cweiske
<www-cweiske@ahso3>
Thu, 16 Sep 2021 09:16:11 +0000
(11:16 +0200)
typo3v7-extbase-statement.php
patch
|
blob
|
history
diff --git
a/typo3v7-extbase-statement.php
b/typo3v7-extbase-statement.php
index ed87b804189a317a933d41cbae93381d0e060106..906f3ef0add1267fc52d969ae1b4d3163f613ddc 100644
(file)
--- a/
typo3v7-extbase-statement.php
+++ b/
typo3v7-extbase-statement.php
@@
-3,7
+3,7
@@
$query = $query->statement(
//manually creating PreparedStatement should not be necessary
\r
//anymore in typo3 v8+
\r
new \TYPO3\CMS\Core\Database\PreparedStatement(
\r
- 'SELECT * FROM tablename WHERE col = ?',
\r
+ 'SELECT * FROM tablename WHERE col = ?
LIMIT 1
',
\r
'tablename'
\r
),
\r
['myvalue']
\r