aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/forms/CheckboxInput.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/classes/forms/CheckboxInput.php')
-rw-r--r--lib/classes/forms/CheckboxInput.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/forms/CheckboxInput.php b/lib/classes/forms/CheckboxInput.php
index 5616056..21a0ea7 100644
--- a/lib/classes/forms/CheckboxInput.php
+++ b/lib/classes/forms/CheckboxInput.php
@@ -14,7 +14,7 @@ class CheckboxInput extends Input
$template = $GLOBALS['template_factory']->open('forms/checkbox_input');
$template->title = $this->title;
$template->name = $this->name;
- $template->value = $this->value;
+ $template->value = $this->getValue();
$template->id = md5(uniqid());
$template->required = $this->required;
$template->attributes = arrayToHtmlAttributes($this->attributes);