From 27197e5b50b14731debc43db2fd2b17ec4b5d7d5 Mon Sep 17 00:00:00 2001 From: Christian Vogeley Date: Sun, 9 Mar 2014 04:08:12 +0100 Subject: allow again zrl and zmg in api MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit the problem was that the values weren’t returned and so the android client received a null value --- mod/wall_upload.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod/wall_upload.php') 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(); -- cgit v1.2.3