diff options
author | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-10-23 10:17:50 +0200 |
---|---|---|
committer | Jörn Friedrich Dreyer <jfd@butonic.de> | 2013-10-23 10:59:01 +0200 |
commit | bc0faa1c4e67f0058c1d9ce89a3727f09e321c9f (patch) | |
tree | 6b98b36c560712dea2160489f91c4f49a724227f | |
parent | 20716a153a9453d4da008a05949d848b53ea1220 (diff) | |
download | nextcloud-server-bc0faa1c4e67f0058c1d9ce89a3727f09e321c9f.tar.gz nextcloud-server-bc0faa1c4e67f0058c1d9ce89a3727f09e321c9f.zip |
use correct filename in error result json
-rw-r--r-- | apps/files/ajax/newfile.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/newfile.php b/apps/files/ajax/newfile.php index c3d1037bc3a..aab856dd9a4 100644 --- a/apps/files/ajax/newfile.php +++ b/apps/files/ajax/newfile.php @@ -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); |