diff options
author | Benjamin Brahmer <info@b-brahmer.de> | 2020-08-28 14:59:13 +0200 |
---|---|---|
committer | Sean Molenaar <SMillerDev@users.noreply.github.com> | 2020-08-29 23:45:26 +0200 |
commit | dd266ed05f46ef35ccc5393a42c73b94334fe461 (patch) | |
tree | 037ec64a8a1e034d9a040c6b85782c680b55a9a6 /lib | |
parent | 7d96630a275e0ae54e37ee4fe207e28e07730fa8 (diff) |
fix import with invalid guid_hash
Signed-off-by: Benjamin Brahmer <info@b-brahmer.de>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Db/Item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Db/Item.php b/lib/Db/Item.php index ae2bb4d17..4cf376366 100644 --- a/lib/Db/Item.php +++ b/lib/Db/Item.php @@ -79,7 +79,7 @@ class Item extends Entity implements IAPI, \JsonSerializable { $item = new Item(); $item->setGuid($import['guid']); - $item->setGuidHash($import['guid']); + $item->setGuidHash(md5($import['guid'])); $item->setUrl($import['url']); $item->setTitle($import['title']); $item->setAuthor($import['author']); |