Skip to content
Snippets Groups Projects
Commit b767bb6b authored by Carsten  Rose's avatar Carsten Rose
Browse files

Fixes #7671. On FormElements, 'fillStoreVar' is now detected and fired at first

parent c737f287
No related branches found
No related tags found
No related merge requests found
Pipeline #1363 passed
......@@ -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) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment