From: Michael Date: Thu, 24 Jan 2019 21:06:53 +0000 (+0000) Subject: Fix: Connector posts now do work again (postopts hadn't been stored) X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=7cba8942c749e2b3c48d15f9e3e5ede15b9ad942;p=friendica.git Fix: Connector posts now do work again (postopts hadn't been stored) --- 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];