diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-22 22:38:48 +0200 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2013-10-22 22:38:48 +0200 |
commit | bf46e0c3171ed8546a64b5907e02f3ee1fe0a5a4 (patch) | |
tree | 0157db2506f543532070ea5a76474bd8e19dab0c /apps/files | |
parent | 0283589a19518d6db266cdb84ba35e5d4bf8a979 (diff) | |
download | nextcloud-server-bf46e0c3171ed8546a64b5907e02f3ee1fe0a5a4.tar.gz nextcloud-server-bf46e0c3171ed8546a64b5907e02f3ee1fe0a5a4.zip |
fixing undefined variable $newname
Diffstat (limited to 'apps/files')
-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 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); |