Merge pull request #7629 from owncloud/files-allfileswarningtypo
Fixed log warning when deleting a single file
This commit is contained in:
commit
0ffd32a1ae
|
@ -9,7 +9,7 @@ OCP\JSON::callCheck();
|
||||||
// Get data
|
// Get data
|
||||||
$dir = stripslashes($_POST["dir"]);
|
$dir = stripslashes($_POST["dir"]);
|
||||||
$files = isset($_POST["file"]) ? $_POST["file"] : $_POST["files"];
|
$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') {
|
if ($allFiles === 'true') {
|
||||||
$allFiles = true;
|
$allFiles = true;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue