Merge pull request #7629 from owncloud/files-allfileswarningtypo

Fixed log warning when deleting a single file
This commit is contained in:
Vincent Petry 2014-03-10 11:40:28 +01:00
commit 0ffd32a1ae
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ OCP\JSON::callCheck();
// Get data
$dir = stripslashes($_POST["dir"]);
$files = isset($_POST["file"]) ? $_POST["file"] : $_POST["files"];
$allFiles = isset($_POST["allfiles"]) ? $_POST["allfiles"] : $_POST["allfiles"];
$allFiles = isset($_POST["allfiles"]) ? $_POST["allfiles"] : false;
if ($allFiles === 'true') {
$allFiles = true;
}