]> git.mxchange.org Git - friendica-addons.git/commitdiff
[twitter] Update getShareOpeningTag::getShareOpeningTag method signature
authorHypolite Petovan <hypolite@mrpetovan.com>
Sun, 21 Jun 2020 13:48:53 +0000 (09:48 -0400)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sun, 21 Jun 2020 13:48:53 +0000 (09:48 -0400)
twitter/twitter.php

index 5167e022375cc8a1e77fa5476d2dbb2530cb6607..e783524bdc441f2f8cc277d328e0a4a133dcf027 100644 (file)
@@ -908,9 +908,8 @@ function twitter_do_mirrorpost(App $a, $uid, $post)
                        $item['author-name'],
                        $item['author-link'],
                        $item['author-avatar'],
-                       '',
-                       $item['created'],
-                       $item['plink']
+                       $item['plink'],
+                       $item['created']
                );
 
                $datarray['body'] .= $item['body'] . '[/share]';
@@ -1631,9 +1630,8 @@ function twitter_createpost(App $a, $uid, $post, array $self, $create_user, $onl
                                                $quoted['author-name'],
                                                $quoted['author-link'],
                                                $quoted['author-avatar'],
-                                               "",
-                                               $quoted['created'],
-                                               $quoted['plink']
+                                               $quoted['plink'],
+                                               $quoted['created']
                                        );
 
                                $postarray['body'] .= $quoted['body'] . '[/share]';