mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
commit
548e9358b0
@ -1454,7 +1454,7 @@ class Form extends ViewableData implements HasRequestHandler
|
||||
$tmpData = &$data[$name];
|
||||
// drill down into the data array looking for the corresponding value
|
||||
foreach ($keys as $arrayKey) {
|
||||
if ($arrayKey !== '') {
|
||||
if ($tmpData && $arrayKey !== '') {
|
||||
$tmpData = &$tmpData[$arrayKey];
|
||||
} else {
|
||||
//empty square brackets means new array
|
||||
|
Loading…
Reference in New Issue
Block a user