fixing undefined variable $newname
This commit is contained in:
parent
0283589a19
commit
bf46e0c317
|
@ -64,7 +64,7 @@ if (\OC\Files\Filesystem::file_exists($target)) {
|
||||||
'data' => array(
|
'data' => array(
|
||||||
'message' => $l10n->t(
|
'message' => $l10n->t(
|
||||||
"The name %s is already used in the folder %s. Please choose a different name.",
|
"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);
|
OCP\JSON::error($result);
|
||||||
|
|
Loading…
Reference in New Issue