diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2016-03-21 08:37:00 -0400 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2016-03-21 08:37:00 -0400 |
commit | 2ac8c295cccf7d03f4aea4c84a14d8a0d4e94739 (patch) | |
tree | 31b190e62771d8c3a404b9f560ccfe3b87a86bfa /src/usr | |
parent | 6402307c849e514e0ab66ed86f0a24a1570d7a9f (diff) | |
parent | 28e3d579477a078c013628c0fb17a7b31ad0b850 (diff) | |
download | pfsense-2ac8c295cccf7d03f4aea4c84a14d8a0d4e94739.zip pfsense-2ac8c295cccf7d03f4aea4c84a14d8a0d4e94739.tar.gz |
Merge pull request #2773 from NewEraCracker/small-php-js-tweaks
Diffstat (limited to 'src/usr')
-rw-r--r-- | src/usr/local/www/services_unbound.php | 2 |
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; |