Merge pull request #8466 from annando/internal-psid
Should fix the unknown "internal-psid" field
This commit is contained in:
commit
11f38ee303
|
@ -177,7 +177,7 @@ class Item
|
|||
}
|
||||
|
||||
$pinned = [];
|
||||
while ($useritem = self::fetch($useritems)) {
|
||||
while ($useritem = DBA::fetch($useritems)) {
|
||||
$pinned[] = $useritem['iid'];
|
||||
}
|
||||
DBA::close($useritems);
|
||||
|
@ -846,7 +846,9 @@ class Item
|
|||
*/
|
||||
private static function constructSelectFields(array $fields, array $selected)
|
||||
{
|
||||
if (!empty($selected)) {
|
||||
$selected = array_merge($selected, ['internal-iid', 'internal-psid', 'internal-iaid', 'internal-network']);
|
||||
}
|
||||
|
||||
if (in_array('verb', $selected)) {
|
||||
$selected[] = 'internal-activity';
|
||||
|
|
Loading…
Reference in a new issue