From 603871737a96b86d2bfc991a2a67d14dd5d8afff Mon Sep 17 00:00:00 2001 From: TheME Date: Tue, 7 Nov 2017 16:59:13 +0100 Subject: [PATCH] fix 'settings page crashing' if FTL is offline Display Message instead of table in 'FTL Information'-Box and fix settings page crash --- settings.php | 24 +++++++++++++----------- 1 file changed, 13 insertions(+), 11 deletions(-) diff --git a/settings.php b/settings.php index 17235cbd..709a1a67 100644 --- a/settings.php +++ b/settings.php @@ -1082,17 +1082,6 @@ if (in_array($_GET['tab'], array("sysadmin", "blocklists", "dns", "piholedhcp", -
@@ -1101,6 +1090,16 @@ if (in_array($_GET['tab'], array("sysadmin", "blocklists", "dns", "piholedhcp",
+ @@ -1135,6 +1134,9 @@ if (in_array($_GET['tab'], array("sysadmin", "blocklists", "dns", "piholedhcp",
+ +
The FTL service is offline!
+