diff options
-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); |