From 7cba8942c749e2b3c48d15f9e3e5ede15b9ad942 Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 24 Jan 2019 21:06:53 +0000 Subject: [PATCH] Fix: Connector posts now do work again (postopts hadn't been stored) --- src/Model/ItemDeliveryData.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Model/ItemDeliveryData.php b/src/Model/ItemDeliveryData.php index 8d273e22b9..1cd9c4f448 100644 --- a/src/Model/ItemDeliveryData.php +++ b/src/Model/ItemDeliveryData.php @@ -31,7 +31,7 @@ class ItemDeliveryData public static function extractFields(array &$fields) { $delivery_data = []; - foreach (ItemDeliveryData::FIELD_LIST as $key => $field) { + foreach (array_merge(ItemDeliveryData::FIELD_LIST, ItemDeliveryData::LEGACY_FIELD_LIST) as $key => $field) { if (is_int($key) && isset($fields[$field])) { // Legacy field moved from item table $delivery_data[$field] = $fields[$field]; -- 2.39.5