Merge pull request #13351 from owncloud/check-for-existence
Check for existence of $_GET keys
This commit is contained in:
commit
01304aa27e
|
@ -25,8 +25,8 @@
|
||||||
OCP\User::checkLoggedIn();
|
OCP\User::checkLoggedIn();
|
||||||
\OC::$server->getSession()->close();
|
\OC::$server->getSession()->close();
|
||||||
|
|
||||||
$files = $_GET["files"];
|
$files = isset($_GET['files']) ? $_GET['files'] : '';
|
||||||
$dir = $_GET["dir"];
|
$dir = isset($_GET['dir']) ? $_GET['dir'] : '';
|
||||||
|
|
||||||
$files_list = json_decode($files);
|
$files_list = json_decode($files);
|
||||||
// in case we get only a single file
|
// in case we get only a single file
|
||||||
|
|
Loading…
Reference in New Issue