summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRemi Collet <remi@remirepo.net>2020-01-14 15:52:31 +0100
committerRemi Collet <remi@remirepo.net>2020-01-14 15:52:31 +0100
commit6c187687a730599bede3fe07a5c7d7e40f790c38 (patch)
tree4dc5f0f64e5d5aab85332c96dcb7da0683fae7d2
parent74f9400efabba47b63a6722c3f8612f0a46b2eeb (diff)
clean
-rw-r--r--32.patch22
1 files changed, 0 insertions, 22 deletions
diff --git a/32.patch b/32.patch
deleted file mode 100644
index bf30fb4..0000000
--- a/32.patch
+++ /dev/null
@@ -1,22 +0,0 @@
-From 63daebd552279c00a636a531389f9852f0df50c7 Mon Sep 17 00:00:00 2001
-From: Remi Collet <remi@remirepo.net>
-Date: Thu, 2 Jan 2020 15:06:00 +0100
-Subject: [PATCH] Fix Trying to access array offset on value of type null
-
----
- src/TableGateway/Feature/SequenceFeature.php | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/src/TableGateway/Feature/SequenceFeature.php b/src/TableGateway/Feature/SequenceFeature.php
-index ca31bb7f..75bcf9d5 100644
---- a/src/TableGateway/Feature/SequenceFeature.php
-+++ b/src/TableGateway/Feature/SequenceFeature.php
-@@ -52,7 +52,7 @@ public function preInsert(Insert $insert)
- $values = $insert->getRawState('values');
- $key = array_search($this->primaryKeyField, $columns);
- if ($key !== false) {
-- $this->sequenceValue = $values[$key];
-+ $this->sequenceValue = ($values ? $values[$key] : NULL);
- return $insert;
- }
-