fixing undefined variable $newname

This commit is contained in:
Thomas Müller 2013-10-22 22:38:48 +02:00
parent 0283589a19
commit bf46e0c317
1 changed files with 1 additions and 1 deletions

View File

@ -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);