X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fuexport.php;h=e1fb22855a6066fa8b99336b837f29ef9ebbb0ea;hb=792abc3a24d13408d4e31a4137a8173e3039bd8e;hp=96f062c41cb03d36e0d415e3ac16f58bf1e3f1a2;hpb=4cff911939b263993eb41682ca558c975e2db01f;p=friendica.git diff --git a/mod/uexport.php b/mod/uexport.php old mode 100644 new mode 100755 index 96f062c41c..e1fb22855a --- 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); }