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
ba4864b0
Commit
ba4864b0
authored
Dec 11, 2018
by
Carsten Rose
Browse files
Fixed problem with access to uninitialised array element
parent
2f2a5951
Changes
1
Hide whitespace changes
Inline
Side-by-side
extension/qfq/qfq/form/FormAction.php
View file @
ba4864b0
...
...
@@ -91,7 +91,7 @@ class FormAction {
// Preparation for Log, Debug
$this
->
store
->
setVar
(
SYSTEM_FORM_ELEMENT
,
Logger
::
formatFormElementName
(
$fe
),
STORE_SYSTEM
);
// debug
$this
->
store
->
setVar
(
SYSTEM_FORM_ELEMENT_ID
,
$fe
[
FE_ID
],
STORE_SYSTEM
);
// debug
$this
->
store
->
setVar
(
SYSTEM_FORM_ELEMENT_ID
,
$fe
[
FE_ID
]
??
''
,
STORE_SYSTEM
);
// debug
$fe
=
HelperFormElement
::
initActionFormElement
(
$fe
);
...
...
@@ -153,7 +153,7 @@ class FormAction {
break
;
default
:
// Always work on recent data: previous actions might have modified the data.
$this
->
store
->
fillStoreWithRecord
(
$this
->
primaryTableName
,
$recordId
,
$this
->
db
,
$this
->
formSpec
[
F_PRIMARY_KEY
]);
$this
->
store
->
fillStoreWithRecord
(
$this
->
primaryTableName
,
$recordId
,
$this
->
db
,
$this
->
formSpec
[
F_PRIMARY_KEY
]
??
''
);
}
if
(
!
$this
->
checkRequiredList
(
$fe
))
{
...
...
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