Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
typo3
qfq
Commits
b767bb6b
Commit
b767bb6b
authored
Jan 17, 2019
by
Carsten Rose
Browse files
Fixes #7671. On FormElements, 'fillStoreVar' is now detected and fired at first
parent
c737f287
Pipeline
#1363
passed with stage
in 2 minutes and 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
extension/Source/core/Evaluate.php
View file @
b767bb6b
...
...
@@ -87,6 +87,16 @@ class Evaluate {
public
function
parseArray
(
$tokenArray
,
array
$skip
=
array
(),
&
$debugStack
=
array
())
{
$arr
=
array
();
// In case there is an Element 'fillStoreVar', process that first.
if
(
!
empty
(
$tokenArray
[
FE_FILL_STORE_VAR
])
&&
is_string
(
$tokenArray
[
FE_FILL_STORE_VAR
])){
$arr
=
$this
->
parse
(
$tokenArray
[
FE_FILL_STORE_VAR
],
ROW_REGULAR
,
0
,
$debugStack
);
if
(
!
empty
(
$arr
)){
$this
->
store
::
setStore
(
$arr
[
0
],
STORE_VAR
);
}
unset
(
$tokenArray
[
FE_FILL_STORE_VAR
]);
}
foreach
(
$tokenArray
as
$key
=>
$value
)
{
if
(
array_search
(
$key
,
$skip
)
!==
false
)
{
...
...
Write
Preview
Markdown
is supported
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