Skip to content

Commit

Permalink
fix checkbox read correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
otrok7 committed Sep 10, 2024
1 parent 6289236 commit 5ad1bff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion crouton.php
Original file line number Diff line number Diff line change
Expand Up @@ -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']);
Expand Down

0 comments on commit 5ad1bff

Please sign in to comment.