mirror of
https://github.com/nextcloud/server.git
synced 2026-05-26 19:32:28 -04:00
Merge pull request #49937 from nextcloud/backport/49936/stable28
[stable28] fix: Create empty file instead of file with a space
This commit is contained in:
commit
3594c830c3
1 changed files with 1 additions and 1 deletions
|
|
@ -3034,7 +3034,7 @@
|
|||
|
||||
self.filesClient.putFileContents(
|
||||
targetPath,
|
||||
' ', // dont create empty files which fails on some storage backends
|
||||
'',
|
||||
{
|
||||
contentType: 'text/plain',
|
||||
overwrite: true
|
||||
|
|
|
|||
Loading…
Reference in a new issue