mirror of
https://github.com/friendica/friendica
synced 2024-12-23 02:40:17 +00:00
Merge pull request #10153 from annando/extid-update
Fix: The "extid" field wasn't updated
This commit is contained in:
commit
1c246f2593
1 changed files with 4 additions and 0 deletions
|
@ -150,6 +150,10 @@ class Item
|
|||
return false;
|
||||
}
|
||||
|
||||
if (isset($fields['extid'])) {
|
||||
$fields['external-id'] = ItemURI::getIdByURI($fields['extid']);
|
||||
}
|
||||
|
||||
if (!empty($fields['verb'])) {
|
||||
$fields['vid'] = Verb::getID($fields['verb']);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue