From: Michael Vogel Date: Thu, 13 Feb 2014 22:07:51 +0000 (+0100) Subject: API: Retweets with Twidere now work again. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35048819ff34f11bec841665ebd915f8d24ec6bf;p=friendica.git API: Retweets with Twidere now work again. --- diff --git a/include/api.php b/include/api.php index 0e638779b5..b9187ca3aa 100644 --- a/include/api.php +++ b/include/api.php @@ -1623,7 +1623,7 @@ $include_entities = strtolower(x($_REQUEST,'include_entities')?$_REQUEST['include_entities']:"false"); if ($include_entities != "true") - return false; + return array(); // Change pure links in text to bbcode uris $bbcode = preg_replace("/([^\]\='".'"'."]|^)(https?\:\/\/[a-zA-Z0-9\:\/\-\?\&\;\.\=\_\~\#\%\$\!\+\,]+)/ism", '$1[url=$2]$2[/url]', $bbcode);