Skip to content

Commit

Permalink
BUGFIX: merged patch from ajshort to fix checkbox fields in the cms
Browse files Browse the repository at this point in the history
git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/sapphire/trunk@64770 467b73ca-7a2a-4603-9d3b-597d59a354a9
  • Loading branch information
Will Rossiter committed Oct 25, 2008
1 parent 17705be commit 03830e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion forms/CheckboxField.php
Expand Up @@ -19,7 +19,7 @@ function Field() {
'class' => ($this->extraClass() ? $this->extraClass() : ''),
'id' => $this->id(),
'name' => $this->Name(),
'value' => 1,
'checked' => $this->value ? 'checked' : '',
'tabindex' => $this->getTabIndex()
);

Expand Down

0 comments on commit 03830e1

Please sign in to comment.