diff options
author | fox <[email protected]> | 2021-05-12 08:42:16 +0300 |
---|---|---|
committer | fox <[email protected]> | 2021-05-12 08:42:16 +0300 |
commit | 77031575abafce314f8b0ac4e5b234737e05ded7 (patch) | |
tree | 067dccd906bc2cbb99deb2b3c9bfce445ff71f9c /plugins/share/init.php | |
parent | f423874e0585699dfc239c8e4187b53a9a3c02da (diff) | |
parent | 983655165e1e95b38a9ca895dfe9d819d460fcb0 (diff) |
Merge pull request 'Fix:Plugins-share:init.php - site_url is NULL when share article by URL from archived articles' (#35) from kdan/tt-rss:master into master
Reviewed-on: https://git.tt-rss.org/fox/tt-rss/pulls/35
Diffstat (limited to 'plugins/share/init.php')
-rw-r--r-- | plugins/share/init.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/share/init.php b/plugins/share/init.php index 195f9df2a..359d86802 100644 --- a/plugins/share/init.php +++ b/plugins/share/init.php @@ -142,7 +142,7 @@ class Share extends Plugin { $line); $enclosures = Article::_get_enclosures($line["id"]); - list ($og_image, $og_stream) = Article::_get_image($enclosures, $line['content'], $line["site_url"], $line); + list ($og_image, $og_stream) = Article::_get_image($enclosures, $line['content'], $line["site_url"] ?? "", $line); $content_decoded = html_entity_decode($line["title"], ENT_NOQUOTES | ENT_HTML401); $parsed_updated = TimeHelper::make_local_datetime($line["updated"], true, $owner_uid, true); |