Merge pull request #6515 from annando/connector-posts
Fix: Connector posts now do work again (postopts hadn't been stored)
This commit is contained in:
commit
2b0610eaf5
|
@ -31,7 +31,7 @@ class ItemDeliveryData
|
||||||
public static function extractFields(array &$fields)
|
public static function extractFields(array &$fields)
|
||||||
{
|
{
|
||||||
$delivery_data = [];
|
$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])) {
|
if (is_int($key) && isset($fields[$field])) {
|
||||||
// Legacy field moved from item table
|
// Legacy field moved from item table
|
||||||
$delivery_data[$field] = $fields[$field];
|
$delivery_data[$field] = $fields[$field];
|
||||||
|
|
Loading…
Reference in New Issue
Block a user