From bf46e0c3171ed8546a64b5907e02f3ee1fe0a5a4 Mon Sep 17 00:00:00 2001 From: Thomas Müller Date: Tue, 22 Oct 2013 22:38:48 +0200 Subject: fixing undefined variable $newname --- apps/files/ajax/newfile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') 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); -- cgit v1.2.3