mirror of
https://github.com/wallabag/wallabag.git
synced 2025-07-12 16:58:37 +00:00
Fix empty language and preview pics
This commit is contained in:
parent
977ac0a1d6
commit
41d45c6122
2 changed files with 5 additions and 5 deletions
|
@ -120,12 +120,12 @@ class ContentProxy
|
|||
|
||||
$this->validateAndSetLanguage(
|
||||
$entry,
|
||||
isset($content['language']) ? $content['language'] : ''
|
||||
isset($content['language']) ? $content['language'] : null
|
||||
);
|
||||
|
||||
$this->validateAndSetPreviewPicture(
|
||||
$entry,
|
||||
isset($content['open_graph']['og_image']) ? $content['open_graph']['og_image'] : ''
|
||||
isset($content['open_graph']['og_image']) ? $content['open_graph']['og_image'] : null
|
||||
);
|
||||
|
||||
// if content is an image, define it as a preview too
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue