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:
parent
0850a5d63d
commit
27197e5b50
@ -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();
|
||||
|
Reference in New Issue
Block a user