Send argument to getAllQueries()

Send the value api.php is given for getAllQueries to getAllQueries().
This make getAllQueries() able to make decisions from the argument.
This commit is contained in:
Björn Bohman
2016-12-08 11:00:02 +01:00
parent 22a99bdbcf
commit 1d36f664cf

View File

@@ -58,7 +58,7 @@
}
if (isset($_GET['getAllQueries']) && $auth) {
$data = array_merge($data, getAllQueries());
$data = array_merge($data, getAllQueries($_GET['getAllQueries']));
}
if (isset($_GET['enable'], $_GET['token']) && $auth) {