]> git.mxchange.org Git - friendica.git/commitdiff
Make tests happy
authorMichael <heluecht@pirati.ca>
Thu, 5 Dec 2019 06:46:00 +0000 (06:46 +0000)
committerMichael <heluecht@pirati.ca>
Thu, 5 Dec 2019 06:46:00 +0000 (06:46 +0000)
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'];