Fix:Plugins-share:init.php - site_url is NULL when share atircle by URL form archived
This commit is contained in:
parent
e8f78181f1
commit
0574675ed6
|
@ -142,7 +142,7 @@ class Share extends Plugin {
|
||||||
$line);
|
$line);
|
||||||
|
|
||||||
$enclosures = Article::_get_enclosures($line["id"]);
|
$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["site_url"] : "", $line);
|
||||||
|
|
||||||
$content_decoded = html_entity_decode($line["title"], ENT_NOQUOTES | ENT_HTML401);
|
$content_decoded = html_entity_decode($line["title"], ENT_NOQUOTES | ENT_HTML401);
|
||||||
$parsed_updated = TimeHelper::make_local_datetime($line["updated"], true, $owner_uid, true);
|
$parsed_updated = TimeHelper::make_local_datetime($line["updated"], true, $owner_uid, true);
|
||||||
|
|
Loading…
Reference in New Issue