diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-06 20:08:51 +0400 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2012-06-06 20:11:23 +0400 |
commit | bb07c20bf4051dd4ede65d19b6d95b285d4aaa8e (patch) | |
tree | 1a9bd00080a896a05435e7d9cb55c5775f60c77a /apps | |
parent | 48ccfa42d39836fb3fdcd212a7d71a08b65f6c41 (diff) |
fixed var name, $filename should be $foldername
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/ajax/newfolder.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/ajax/newfolder.php b/apps/files/ajax/newfolder.php index 0668a6191f4..c5c37914c6a 100644 --- a/apps/files/ajax/newfolder.php +++ b/apps/files/ajax/newfolder.php @@ -13,7 +13,7 @@ if(trim($foldername) == '') { OCP\JSON::error(array("data" => array( "message" => "Empty Foldername" ))); exit(); } -if(strpos($filename,'/')!==false){ +if(strpos($foldername,'/')!==false){ OCP\JSON::error(array("data" => array( "message" => "Invalid Foldername" ))); exit(); } |