diff options
Diffstat (limited to 'lib/classes/forms/SelectInput.php')
| -rw-r--r-- | lib/classes/forms/SelectInput.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/forms/SelectInput.php b/lib/classes/forms/SelectInput.php index 0ba83c9..36850a9 100644 --- a/lib/classes/forms/SelectInput.php +++ b/lib/classes/forms/SelectInput.php @@ -11,7 +11,7 @@ class SelectInput extends Input $template = $GLOBALS['template_factory']->open('forms/select_input'); $template->title = $this->title; $template->name = $this->name; - $template->value = $this->value; + $template->value = (string) $this->value; $template->id = md5(uniqid()); $template->required = $this->required; $template->attributes = arrayToHtmlAttributes($this->attributes); |
