Allow to remove the "extid" content as well.

This commit is contained in:
Michael 2021-04-18 09:57:08 +00:00
parent be16bdcc24
commit a12992f063

View file

@ -150,7 +150,7 @@ class Item
return false;
}
if (!empty($fields['extid']) && empty($fields['external-id'])) {
if (isset($fields['extid'])) {
$fields['external-id'] = ItemURI::getIdByURI($fields['extid']);
}