Merge pull request #861 from ArthurHoaro/hotfix/import-shorturl-override

Fix a bug happening when importing links with override option
This commit is contained in:
ArthurHoaro 2017-05-07 18:38:55 +02:00 committed by GitHub
commit 3108f2a800

View file

@ -180,6 +180,7 @@ class NetscapeBookmarkUtils
$newLink['id'] = $existingLink['id'];
$newLink['created'] = $existingLink['created'];
$newLink['updated'] = new DateTime();
$newLink['shorturl'] = $existingLink['shorturl'];
$linkDb[$existingLink['id']] = $newLink;
$importCount++;
$overwriteCount++;