projects
/
friendica.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
822b386
)
API: Retweets with Twidere now work again.
author
Michael Vogel
<icarus@dabo.de>
Thu, 13 Feb 2014 22:07:51 +0000
(23:07 +0100)
committer
Michael Vogel
<icarus@dabo.de>
Thu, 13 Feb 2014 22:07:51 +0000
(23:07 +0100)
include/api.php
patch
|
blob
|
history
diff --git
a/include/api.php
b/include/api.php
index 0e638779b5d9774ddc657140de03fff384ddf625..b9187ca3aa70ad79cf0d055abb807670eaef55e0 100644
(file)
--- 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);