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;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($fields['extid'])) {
|
||||||
|
$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