summaryrefslogtreecommitdiff
path: root/plugins/share/init.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-05-18 16:37:09 +0300
committerAndrew Dolgov <[email protected]>2021-05-18 16:37:09 +0300
commit9f6237a1b8ecbd6aea7c9de14ffef91e0b2ba463 (patch)
tree21ec3f79a6d796a6f95832bc571b55013e157d2d /plugins/share/init.php
parent57cd8acfc9470f09d88de0959121aa56b63ce107 (diff)
parent77031575abafce314f8b0ac4e5b234737e05ded7 (diff)
Merge branch 'master' of git.tt-rss.org:fox/tt-rss
Diffstat (limited to 'plugins/share/init.php')
-rw-r--r--plugins/share/init.php2
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);