From: Michael Date: Wed, 27 Jun 2018 20:25:24 +0000 (+0000) Subject: Fix for fetching false fer... (sorry) verbs X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=51a58ec2e2014cab48140a22ec2c42b233f1ec61;p=friendica.git Fix for fetching false fer... (sorry) verbs --- diff --git a/src/Model/Item.php b/src/Model/Item.php index 2dac079b6f..9fafe26aa6 100644 --- a/src/Model/Item.php +++ b/src/Model/Item.php @@ -86,7 +86,7 @@ class Item extends BaseObject // Fetch data from the item-content table whenever there is content there foreach (self::CONTENT_FIELDLIST as $field) { - if (is_null($row[$field]) && !is_null($row['item-' . $field])) { + if (empty($row[$field]) && !empty($row['item-' . $field])) { $row[$field] = $row['item-' . $field]; } unset($row['item-' . $field]); @@ -403,7 +403,7 @@ class Item extends BaseObject 'file', 'allow_cid', 'allow_gid', 'deny_cid', 'deny_gid', 'private', 'pubmail', 'moderated', 'visible', 'starred', 'bookmark', 'unseen', 'deleted', 'origin', 'forum_mode', 'mention', 'global', - 'id' => 'item_id', 'network']; + 'id' => 'item_id', 'network', 'icid']; $fields['item-content'] = self::CONTENT_FIELDLIST;