Show summary if no arguments are passed to API

This commit is contained in:
DL6ER
2017-02-19 19:10:49 +01:00
parent 8a0839f439
commit dc61eb82d4
3 changed files with 3 additions and 6 deletions

View File

@@ -21,7 +21,7 @@ header('Content-type: application/json');
$data = [];
if (isset($_GET['summary']) || isset($_GET['summaryRaw']))
if (isset($_GET['summary']) || isset($_GET['summaryRaw']) || !count($_GET))
{
sendRequestFTL("stats");
$return = getResponseFTL();