]> git.mxchange.org Git - friendica.git/commitdiff
Allow to remove the "extid" content as well.
authorMichael <heluecht@pirati.ca>
Sun, 18 Apr 2021 09:57:08 +0000 (09:57 +0000)
committerMichael <heluecht@pirati.ca>
Sun, 18 Apr 2021 09:57:08 +0000 (09:57 +0000)
src/Model/Item.php

index 8867a2caa125b5e6e8564acccea0ad491df97373..32da545d8666ad09922a3fc50331ebc8fd85ed07 100644 (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']);
                }