Merge pull request #10153 from annando/extid-update

Fix: The "extid" field wasn't updated
This commit is contained in:
Hypolite Petovan 2021-04-18 09:20:40 -04:00 committed by GitHub
commit 1c246f2593
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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']);
}