From c32a1973d10c885fc4c5f546e22fa43853a54d1c Mon Sep 17 00:00:00 2001 From: laf Date: Sun, 8 Dec 2013 10:52:18 +0000 Subject: [PATCH] Update ajax_listports.php Now checks if _GET['debug'] isset to avoid php warnings in logs --- html/ajax_listports.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/html/ajax_listports.php b/html/ajax_listports.php index b9245ebe35..d3c5937e1b 100755 --- a/html/ajax_listports.php +++ b/html/ajax_listports.php @@ -12,7 +12,7 @@ * */ -if ($_GET['debug']) +if (isset($_GET['debug'])) { ini_set('display_errors', 1); ini_set('display_startup_errors', 0);