Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
4e8a3e3f
Commit
4e8a3e3f
authored
Jun 23, 2021
by
Carsten Rose
Browse files
Fixed #9371. MultiSQL now accepts `_id` too.
parent
6d7ce0c1
Pipeline
#5358
passed with stages
in 6 minutes and 5 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Classes/Core/AbstractBuildForm.php
View file @
4e8a3e3f
...
@@ -257,7 +257,7 @@ abstract class AbstractBuildForm {
...
@@ -257,7 +257,7 @@ abstract class AbstractBuildForm {
$this
->
store
->
setStore
(
$row
,
STORE_PARENT_RECORD
,
true
);
$this
->
store
->
setStore
(
$row
,
STORE_PARENT_RECORD
,
true
);
$this
->
store
->
setVar
(
F_MULTI_COL_ID
,
$row
[
$idName
],
STORE_PARENT_RECORD
);
// In case '_id' is used, both '_id' and 'id' should be accessible.
$this
->
store
->
setVar
(
F_MULTI_COL_ID
,
$row
[
$idName
],
STORE_PARENT_RECORD
);
// In case '_id' is used, both '_id' and 'id' should be accessible.
$record
=
$this
->
dbArray
[
$this
->
dbIndexData
]
->
sql
(
'SELECT * FROM `'
.
$this
->
formSpec
[
F_TABLE_NAME
]
.
'` WHERE `id`=
'
.
$row
[
F_MULTI_COL_ID
],
ROW_EXPECT_1
);
$record
=
$this
->
dbArray
[
$this
->
dbIndexData
]
->
sql
(
'SELECT * FROM `'
.
$this
->
formSpec
[
F_TABLE_NAME
]
.
'` WHERE `id`=
?'
,
ROW_EXPECT_1
,
[
$row
[
$idName
]]
);
$this
->
store
->
setStore
(
$record
,
STORE_RECORD
,
true
);
$this
->
store
->
setStore
(
$record
,
STORE_RECORD
,
true
);
$jsonTmp
=
array
();
$jsonTmp
=
array
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment