summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/usr/local/www/services_unbound.php2
1 files changed, 1 insertions, 1 deletions
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 = "<?=$customoptions?>";
+ showadvcustom = <?=($customoptions ? 'true' : 'false');?>;
} else {
// It was a click, swap the state.
showadvcustom = !showadvcustom;
OpenPOWER on IntegriCloud