forked from joomla/super-powers
Update 2024-06-28 03:53:12
This commit is contained in:
parent
ca77ad3dc7
commit
98aa79d00a
@ -120,7 +120,7 @@ final class MultiSubform implements MultiSubformInterface
|
|||||||
public function set(array $items, array $setMap): bool
|
public function set(array $items, array $setMap): bool
|
||||||
{
|
{
|
||||||
// Validate the core map presence and structure
|
// Validate the core map presence and structure
|
||||||
if (!isset($setMap['_core']) || !is_array($getMap['_core']) || !$this->validSetMap($setMap['_core']))
|
if (!isset($setMap['_core']) || !is_array($setMap['_core']) || !$this->validSetMap($setMap['_core']))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
@ -95,7 +95,7 @@
|
|||||||
public function set(array $items, array $setMap): bool
|
public function set(array $items, array $setMap): bool
|
||||||
{
|
{
|
||||||
// Validate the core map presence and structure
|
// Validate the core map presence and structure
|
||||||
if (!isset($setMap['_core']) || !is_array($getMap['_core']) || !$this->validSetMap($setMap['_core']))
|
if (!isset($setMap['_core']) || !is_array($setMap['_core']) || !$this->validSetMap($setMap['_core']))
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user