From e6b84541b7f9741500bd8e4fac75c2b47ac69ab9 Mon Sep 17 00:00:00 2001 From: PandaWawawa Date: Thu, 8 Oct 2015 15:25:10 +0200 Subject: [PATCH] change list_alerts function to handle GET filter not POST --- html/includes/api_functions.inc.php | 1 - 1 file changed, 1 deletion(-) diff --git a/html/includes/api_functions.inc.php b/html/includes/api_functions.inc.php index 4c55dccac..7141e7bbc 100644 --- a/html/includes/api_functions.inc.php +++ b/html/includes/api_functions.inc.php @@ -623,7 +623,6 @@ function list_alerts() { 'err-msg' => '', 'count' => $total_alerts, 'alerts' => $alerts, - 'debug' => $_GET['state'] ); $app->response->setStatus('200'); $app->response->headers->set('Content-Type', 'application/json');