summaryrefslogtreecommitdiffstats
path: root/apps/files
diff options
context:
space:
mode:
authorThomas Müller <thomas.mueller@tmit.eu>2013-10-22 22:38:48 +0200
committerThomas Müller <thomas.mueller@tmit.eu>2013-10-22 22:38:48 +0200
commitbf46e0c3171ed8546a64b5907e02f3ee1fe0a5a4 (patch)
tree0157db2506f543532070ea5a76474bd8e19dab0c /apps/files
parent0283589a19518d6db266cdb84ba35e5d4bf8a979 (diff)
downloadnextcloud-server-bf46e0c3171ed8546a64b5907e02f3ee1fe0a5a4.tar.gz
nextcloud-server-bf46e0c3171ed8546a64b5907e02f3ee1fe0a5a4.zip
fixing undefined variable $newname
Diffstat (limited to 'apps/files')
-rw-r--r--apps/files/ajax/newfile.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/newfile.php b/apps/files/ajax/newfile.php
index 8f483aa5cb6..c3d1037bc3a 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($newname, $dir))
+ array($target, $dir))
)
);
OCP\JSON::error($result);