]> git.mxchange.org Git - friendica.git/commitdiff
Fix: Connector posts now do work again (postopts hadn't been stored)
authorMichael <heluecht@pirati.ca>
Thu, 24 Jan 2019 21:06:53 +0000 (21:06 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 24 Jan 2019 21:06:53 +0000 (21:06 +0000)
src/Model/ItemDeliveryData.php

index 8d273e22b964bf664c14d5ac7bc5841cdfe1f151..1cd9c4f448acb897a8817bf507dfe05f12a6fdc1 100644 (file)
@@ -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];