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
This commit is contained in:
Christian Vogeley 2014-03-09 04:08:12 +01:00
parent 0850a5d63d
commit 27197e5b50

View File

@ -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();