Fix: Connector posts now do work again (postopts hadn't been stored)

This commit is contained in:
Michael 2019-01-24 21:06:53 +00:00
parent 99199ee93b
commit 7cba8942c7
1 changed files with 1 additions and 1 deletions

View 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];