aboutsummaryrefslogtreecommitdiff
path: root/lib/classes/forms/TextInput.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/classes/forms/TextInput.php')
-rw-r--r--lib/classes/forms/TextInput.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/classes/forms/TextInput.php b/lib/classes/forms/TextInput.php
index 4ba6eb9..db4f884 100644
--- a/lib/classes/forms/TextInput.php
+++ b/lib/classes/forms/TextInput.php
@@ -9,7 +9,7 @@ class TextInput extends Input
$template = $GLOBALS['template_factory']->open('forms/text_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);