]> git.immae.eu Git - github/wallabag/wallabag.git/commit
Avoid false preview image
authorJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 10 Jan 2017 16:42:34 +0000 (17:42 +0100)
committerJeremy Benoist <jeremy.benoist@gmail.com>
Tue, 10 Jan 2017 16:42:36 +0000 (17:42 +0100)
commit3d71d40349897fe7293f7a0be86cecfe1141c61b
treebab62cb86914c10e4ff5cb2161603bc4539a9782
parente4ccd3effe8a5561d71d6c5f7c4bd1b23aa5a45b
Avoid false preview image

If the website doesn't provide an og_image, the value will be false and so it'll be saved like that in the database.
We prefer to leave it as null instead of false.
src/Wallabag/CoreBundle/Helper/ContentProxy.php
tests/Wallabag/CoreBundle/Helper/ContentProxyTest.php