mirror of
https://github.com/pi-hole/web.git
synced 2026-05-02 06:32:49 +01:00
@@ -303,9 +303,13 @@ if (isset($_GET['getAllQueries']) && $auth) {
|
||||
$return = callFTLAPI("getallqueries");
|
||||
}
|
||||
|
||||
<<<<<<< HEAD
|
||||
if (array_key_exists("FTLnotrunning", $return)) {
|
||||
$data = array("FTLnotrunning" => true);
|
||||
} else {
|
||||
=======
|
||||
if (!in_array("FTLnotrunning", $return )) {
|
||||
>>>>>>> Add proper guarding
|
||||
// Start the JSON string
|
||||
echo '{"data":[';
|
||||
$first = true;
|
||||
|
||||
Reference in New Issue
Block a user