]> git.mxchange.org Git - friendica.git/blobdiff - include/api.php
Make tests happy
[friendica.git] / include / api.php
index b086655c529e39aca79f8cd57f8d9c33fcd18687..681515cc376cc0a9bfeb11bad6ad05521b972cb4 100644 (file)
@@ -5177,7 +5177,7 @@ function api_share_as_retweet(&$item)
        $reshared_item["author-name"] = $reshared['author'];
        $reshared_item["author-link"] = $reshared['profile'];
        $reshared_item["author-avatar"] = $reshared['avatar'];
-       $reshared_item["plink"] = $reshared['link'];
+       $reshared_item["plink"] = $reshared['link'] ?? '';
        $reshared_item["created"] = $reshared['posted'];
        $reshared_item["edited"] = $reshared['posted'];