diff options
Diffstat (limited to '235.patch')
-rw-r--r-- | 235.patch | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/235.patch b/235.patch deleted file mode 100644 index 1926da6..0000000 --- a/235.patch +++ /dev/null @@ -1,22 +0,0 @@ -From 19d1ed9c335a1d9ea1ccf718f420444acb4ec277 Mon Sep 17 00:00:00 2001 -From: Remi Collet <remi@remirepo.net> -Date: Fri, 4 Oct 2019 09:30:17 +0200 -Subject: [PATCH] fix Trying to access array offset on value of type null (7.4) - ---- - src/Form.php | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) - -diff --git a/src/Form.php b/src/Form.php -index 035cd85b..3ee441c2 100644 ---- a/src/Form.php -+++ b/src/Form.php -@@ -364,7 +364,7 @@ public function bindValues(array $values = [], array $validationGroup = null) - $data = array_key_exists($this->baseFieldset->getName(), $data) - ? $data[$this->baseFieldset->getName()] - : []; -- $this->object = $this->baseFieldset->bindValues($data, $validationGroup[$this->baseFieldset->getName()]); -+ $this->object = $this->baseFieldset->bindValues($data, $validationGroup ? $validationGroup[$this->baseFieldset->getName()] : null); - } else { - $this->object = parent::bindValues($data, $validationGroup); - } |