From: Michael Date: Thu, 5 Dec 2019 06:46:00 +0000 (+0000) Subject: Make tests happy X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=043df55bc5f15c1a88aaa5a56a9326a1a735740e;p=friendica.git Make tests happy --- diff --git a/include/api.php b/include/api.php index b086655c52..681515cc37 100644 --- a/include/api.php +++ b/include/api.php @@ -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'];