Fix: The "extid" field wasn't updated
This commit is contained in:
parent
a6eeb7af11
commit
15caf4b3f7
|
@ -150,6 +150,10 @@ class Item
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!empty($fields['extid']) && empty($fields['external-id'])) {
|
||||||
|
$fields['external-id'] = ItemURI::getIdByURI($fields['extid']);
|
||||||
|
}
|
||||||
|
|
||||||
if (!empty($fields['verb'])) {
|
if (!empty($fields['verb'])) {
|
||||||
$fields['vid'] = Verb::getID($fields['verb']);
|
$fields['vid'] = Verb::getID($fields['verb']);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue