aboutsummaryrefslogtreecommitdiffstats
path: root/mod/wall_upload.php
diff options
context:
space:
mode:
authorChristian Vogeley <christian.vogeley@hotmail.de>2014-03-09 04:08:12 +0100
committerChristian Vogeley <christian.vogeley@hotmail.de>2014-03-09 04:08:22 +0100
commit27197e5b50b14731debc43db2fd2b17ec4b5d7d5 (patch)
tree8d86c490e12576d528c71f0eaa62e6464a9c5733 /mod/wall_upload.php
parent0850a5d63d712f8449c173944db041aa22d27f2c (diff)
downloadvolse-hubzilla-27197e5b50b14731debc43db2fd2b17ec4b5d7d5.tar.gz
volse-hubzilla-27197e5b50b14731debc43db2fd2b17ec4b5d7d5.tar.bz2
volse-hubzilla-27197e5b50b14731debc43db2fd2b17ec4b5d7d5.zip
allow again zrl and zmg in api
the problem was that the values weren’t returned and so the android client received a null value
Diffstat (limited to 'mod/wall_upload.php')
-rw-r--r--mod/wall_upload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/mod/wall_upload.php b/mod/wall_upload.php
index 2939cf0d1..3e7013ba1 100644
--- a/mod/wall_upload.php
+++ b/mod/wall_upload.php
@@ -49,7 +49,7 @@ function wall_upload_post(&$a) {
// and these tags probably aren't useful with other client apps.
if($using_api)
- return(str_replace(array('zrl','zmg'),array('url','img'),$ret['body']));
+ return("\n\n" . $ret['body'] . "\n\n");
else
echo "\n\n" . $ret['body'] . "\n\n";
killme();