diff --git a/mod/uexport.php b/mod/uexport.php index 2ada9bc28..5a897f4ab 100644 --- a/mod/uexport.php +++ b/mod/uexport.php @@ -126,7 +126,7 @@ function uexport_account($a) { ); //echo "
"; var_dump(json_encode($output)); killme();
-	echo json_encode($output);
+	echo json_encode($output, JSON_PARTIAL_OUTPUT_ON_ERROR);
 }
 
 /**
@@ -154,6 +154,6 @@ function uexport_all(App $a) {
 		);
 
 		$output = array('item' => $r);
-		echo json_encode($output) . "\n";
+		echo json_encode($output, JSON_PARTIAL_OUTPUT_ON_ERROR). "\n";
 	}
 }