X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fuexport.php;h=e1fb22855a6066fa8b99336b837f29ef9ebbb0ea;hb=01221ccb2a3cdf288eade32a845e4cbcd4179353;hp=96f062c41cb03d36e0d415e3ac16f58bf1e3f1a2;hpb=1bba63fb607c2cb5fb2c002e63ad7128ecf8b1ea;p=friendica.git diff --git a/mod/uexport.php b/mod/uexport.php index 96f062c41c..e1fb22855a 100644 --- a/mod/uexport.php +++ b/mod/uexport.php @@ -39,7 +39,7 @@ function uexport_init(&$a) { $output = array('user' => $user, 'contact' => $contact, 'profile' => $profile ); header("Content-type: application/json"); - echo str_replace('\\/','/',json_encode($output)); + echo json_encode($output); $r = q("SELECT count(*) as `total` FROM `item` WHERE `uid` = %d ", intval(local_user()) @@ -63,7 +63,7 @@ function uexport_init(&$a) { } $output = array('item' => $item); - echo str_replace('\\/','/',json_encode($output)); + echo json_encode($output); }