From 28e3d579477a078c013628c0fb17a7b31ad0b850 Mon Sep 17 00:00:00 2001 From: NewEraCracker Date: Mon, 21 Mar 2016 08:51:23 +0000 Subject: Echo boolean value instead of string Prior to this change, code would echo an empty string if false and 1 if true. In all other files, with similar code, boolean representation is printed. --- src/usr/local/www/services_unbound.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/usr') diff --git a/src/usr/local/www/services_unbound.php b/src/usr/local/www/services_unbound.php index bf1231f..4408d2a 100644 --- a/src/usr/local/www/services_unbound.php +++ b/src/usr/local/www/services_unbound.php @@ -406,7 +406,7 @@ events.push(function() { var text; // On page load decide the initial state based on the data. if (ispageload) { - showadvcustom = ""; + showadvcustom = ; } else { // It was a click, swap the state. showadvcustom = !showadvcustom; -- cgit v1.1