From: Tobias Diekershoff Date: Thu, 10 Oct 2013 10:10:40 +0000 (+0200) Subject: pumpio: PHP fixes for 5.4 not warn all time X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e3959ff3c76520785e3ba8272fd3cf95f8e06eb4;p=friendica-addons.git pumpio: PHP fixes for 5.4 not warn all time --- diff --git a/pumpio.tgz b/pumpio.tgz index 24414307..9f580966 100644 Binary files a/pumpio.tgz and b/pumpio.tgz differ diff --git a/pumpio/pumpio.php b/pumpio/pumpio.php index 4bab7be5..63f403c2 100755 --- a/pumpio/pumpio.php +++ b/pumpio/pumpio.php @@ -1080,14 +1080,17 @@ function pumpio_dopost(&$a, $client, $uid, $self, $post, $own_id, $threadcomplet } } + $reply = new stdClass; $reply->verb = "note"; $reply->cc = $post->cc; $reply->to = $post->to; + $reply->object = new stdClass; $reply->object->objectType = $post->object->inReplyTo->objectType; $reply->object->content = $post->object->inReplyTo->content; $reply->object->id = $post->object->inReplyTo->id; $reply->actor = $post->object->inReplyTo->author; $reply->url = $post->object->inReplyTo->url; + $reply->generator = new stdClass; $reply->generator->displayName = "pumpio"; $reply->published = $post->object->inReplyTo->published; $reply->received = $post->object->inReplyTo->updated;