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
d87ba7f4
Commit
d87ba7f4
authored
Feb 09, 2017
by
Carsten Rose
Browse files
AbstractBuildForm.php: Bug STORE_BEFORE double filled - fixed
parent
a1d0c47a
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/AbstractBuildForm.php
View file @
d87ba7f4
...
...
@@ -347,7 +347,6 @@ abstract class AbstractBuildForm {
if
(
$recordId
>
0
&&
$this
->
store
->
getVar
(
'id'
,
STORE_RECORD
)
===
false
)
{
$row
=
$this
->
db
->
sql
(
"SELECT * FROM "
.
$this
->
formSpec
[
F_TABLE_NAME
]
.
" WHERE id = ?"
,
ROW_EXPECT_1
,
array
(
$recordId
),
"Form '"
.
$this
->
formSpec
[
F_NAME
]
.
"' failed to load record '
$recordId
' from table '"
.
$this
->
formSpec
[
F_TABLE_NAME
]
.
"'."
);
$this
->
store
->
setVarArray
(
$row
,
STORE_RECORD
);
$this
->
store
->
setVarArray
(
$row
,
STORE_BEFORE
);
}
$this
->
checkAutoFocus
();
...
...
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