summaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-10-28 16:36:10 +0200
committerRobin Appelman <robin@icewind.nl>2016-11-16 15:30:37 +0100
commitc22776f04abc5133227b8b34171c36086f955da5 (patch)
tree52be731777f5c74109f7340018518ffb4ffa0e5b /apps
parent3ab160dd5a9071bb993fe95361d29f1f8d74ab93 (diff)
downloadnextcloud-server-c22776f04abc5133227b8b34171c36086f955da5.tar.gz
nextcloud-server-c22776f04abc5133227b8b34171c36086f955da5.zip
Dont create 0 byte text files
Signed-off-by: Robin Appelman <robin@icewind.nl>
Diffstat (limited to 'apps')
-rw-r--r--apps/files/js/filelist.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/js/filelist.js b/apps/files/js/filelist.js
index c53fa4f3d66..a9df023614c 100644
--- a/apps/files/js/filelist.js
+++ b/apps/files/js/filelist.js
@@ -2158,7 +2158,7 @@
self.filesClient.putFileContents(
targetPath,
- '',
+ ' ',
{
contentType: 'text/plain',
overwrite: true