diff options
Diffstat (limited to 'lib/htmloutputter.php')
-rw-r--r-- | lib/htmloutputter.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index b341d1495..fdb693f92 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -184,7 +184,7 @@ class HTMLOutputter extends XMLOutputter $attrs = array('name' => $id, 'type' => 'text', 'id' => $id); - if ($value) { + if (!is_null($value)) { // value can be 0 or '' $attrs['value'] = $value; } $this->element('input', $attrs); |