From 111af7fed5a03d45793536c23ecc5c25bfc1d36f Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Tue, 13 Mar 2012 17:04:49 +0000 Subject: [PATCH] json encode the output --- apps/user_migrate/settings.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/user_migrate/settings.php b/apps/user_migrate/settings.php index 3b82e148b5..edad7357a2 100644 --- a/apps/user_migrate/settings.php +++ b/apps/user_migrate/settings.php @@ -52,7 +52,7 @@ if (isset($_POST['user_export'])) { } // Migrate the app info - $info = OC_Migrate::export( $user ); + $info = json_encode( OC_Migrate::export( $user ) ); $infofile = $exportdir . '/exportinfo.json'; if( !file_put_contents( $infofile, $info ) ){ die('Failed to save the export info');