]> git.mxchange.org Git - friendica-addons.git/commitdiff
pumpio: PHP fixes for 5.4 not warn all time
authorTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 10 Oct 2013 10:10:40 +0000 (12:10 +0200)
committerTobias Diekershoff <tobias.diekershoff@gmx.net>
Thu, 10 Oct 2013 10:10:40 +0000 (12:10 +0200)
pumpio.tgz
pumpio/pumpio.php

index 2441430798781e2cf252d7a95253b4e88aa61502..9f58096647361e2e43a52cf257f9c6e3519ea7a4 100644 (file)
Binary files a/pumpio.tgz and b/pumpio.tgz differ
index 4bab7be5b77503ccc47ecc816bcba75999d13fec..63f403c276d842e3622e57170bf03b52a90647da 100755 (executable)
@@ -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;