mirror of
https://github.com/friendica/friendica
synced 2024-11-10 05:42:54 +00:00
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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue