From 55c0caa092d6c9a4aa38e325986c230a45a2ab20 Mon Sep 17 00:00:00 2001 From: nielsengelen Date: Wed, 5 Jun 2019 15:08:09 +0200 Subject: [PATCH] Plain file restore fix Plain file restore fix --- onedrive.php | 2 +- sharepoint.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/onedrive.php b/onedrive.php index ee7f153..3a7d5cc 100644 --- a/onedrive.php +++ b/onedrive.php @@ -679,7 +679,7 @@ var itemname = $(this).data("itemname"); var userid = $(this).data("userid"); var rid = ""; - var json = '{ "save" : null }'; + var json = '{ "save" : { "asZip" : "false" } }'; $.get("veeam.php", {"action" : "exportonedriveitem", "itemid" : itemid, "userid" : userid, "rid" : rid, "json" : json, "type" : filetype}).done(function(data) { e.preventDefault(); diff --git a/sharepoint.php b/sharepoint.php index cbb4eeb..60ff428 100644 --- a/sharepoint.php +++ b/sharepoint.php @@ -764,7 +764,7 @@ var itemname = $(this).data("itemname"); var siteid = $(this).data("siteid"); var rid = ""; - var json = '{ "save" : null }'; + var json = '{ "save" : { "asZip" : "false" } }'; $.get("veeam.php", {"action" : "exportsharepointitem", "itemid" : itemid, "siteid" : siteid, "rid" : rid, "json" : json, "type" : filetype}).done(function(data) { e.preventDefault();