]> git.mxchange.org Git - friendica.git/commitdiff
API: Retweets with Twidere now work again.
authorMichael Vogel <icarus@dabo.de>
Thu, 13 Feb 2014 22:07:51 +0000 (23:07 +0100)
committerMichael Vogel <icarus@dabo.de>
Thu, 13 Feb 2014 22:07:51 +0000 (23:07 +0100)
include/api.php

index 0e638779b5d9774ddc657140de03fff384ddf625..b9187ca3aa70ad79cf0d055abb807670eaef55e0 100644 (file)
                $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);