mirror of
https://github.com/nextcloud/server.git
synced 2026-07-16 23:12:04 -04:00
use correct filename in error result json
This commit is contained in:
parent
20716a153a
commit
bc0faa1c4e
1 changed files with 1 additions and 1 deletions
|
|
@ -64,7 +64,7 @@ if (\OC\Files\Filesystem::file_exists($target)) {
|
|||
'data' => array(
|
||||
'message' => $l10n->t(
|
||||
"The name %s is already used in the folder %s. Please choose a different name.",
|
||||
array($target, $dir))
|
||||
array($filename, $dir))
|
||||
)
|
||||
);
|
||||
OCP\JSON::error($result);
|
||||
|
|
|
|||
Loading…
Reference in a new issue