From: Hypolite Petovan Date: Sun, 14 Oct 2018 11:17:15 +0000 (-0400) Subject: [fromgplus] Fix Undefined property: stdClass::$published notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b040bee1d0d31404f6d207545d927fab6d82c5e5;p=friendica-addons.git [fromgplus] Fix Undefined property: stdClass::$published notice --- diff --git a/fromgplus/fromgplus.php b/fromgplus/fromgplus.php index 24ec46f3..89139ed1 100644 --- a/fromgplus/fromgplus.php +++ b/fromgplus/fromgplus.php @@ -526,12 +526,12 @@ function fromgplus_fetch($a, $uid) { if (function_exists("share_header")) $post .= share_header($item->object->actor->displayName, $item->object->actor->url, $item->object->actor->image->url, "", - DateTimeFormat::utc($item->object->published),$item->object->url); + DateTimeFormat::utc($item->published),$item->object->url); else $post .= "[share author='".str_replace("'", "'",$item->object->actor->displayName). "' profile='".$item->object->actor->url. "' avatar='".$item->object->actor->image->url. - "' posted='".DateTimeFormat::utc($item->object->published). + "' posted='".DateTimeFormat::utc($item->published). "' link='".$item->object->url."']"; $post .= fromgplus_html2bbcode($item->object->content);