From f3d4ca06c8502433a7c697038982f2a177d95258 Mon Sep 17 00:00:00 2001 From: Tobias Reich Date: Thu, 24 Mar 2016 21:29:09 +0100 Subject: [PATCH] Return import in correct format --- php/Access/Admin.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/php/Access/Admin.php b/php/Access/Admin.php index c083836..c706653 100644 --- a/php/Access/Admin.php +++ b/php/Access/Admin.php @@ -249,7 +249,7 @@ final class Admin extends Access { Validator::required(isset($_POST['albumID'], $_POST['path']), __METHOD__); $import = new Import(); - echo $import->server($_POST['path'], $_POST['albumID']); + Response::json($import->server($_POST['path'], $_POST['albumID'])); }