From 043df55bc5f15c1a88aaa5a56a9326a1a735740e Mon Sep 17 00:00:00 2001 From: Michael Date: Thu, 5 Dec 2019 06:46:00 +0000 Subject: [PATCH] Make tests happy --- include/api.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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']; -- 2.39.5