Update 2024-06-28 03:53:12

This commit is contained in:
Robot 2024-06-28 03:53:20 +02:00
parent ca77ad3dc7
commit 98aa79d00a
Signed by untrusted user: Robot
GPG Key ID: 14DECD44E7E1BB95
2 changed files with 2 additions and 2 deletions

View File

@ -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;
} }

View File

@ -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;
} }