diff --git a/crouton.php b/crouton.php index cdffeaf..139ffb6 100644 --- a/crouton.php +++ b/crouton.php @@ -516,7 +516,7 @@ public function adminOptionsPage() } $this->options['root_server'] = $_POST['root_server']; $this->options['service_body_1'] = $_POST['service_body_1']; - $this->options['jsInFooter'] = $_POST['jsInFooter']; + $this->options['jsInFooter'] = isset($_POST['jsInFooter']); $this->options['time_format'] = $_POST['time_format']; $this->options['language'] = $_POST['language']; $this->options['strict_datafields'] = isset($_POST['strict_datafields']);