diff options
author | Ian Denhardt <ian@zenhack.net> | 2010-08-09 15:06:26 -0400 |
---|---|---|
committer | Ian Denhardt <ian@zenhack.net> | 2010-08-09 15:06:26 -0400 |
commit | e0da39380024c3d4e7eb9a3ae0c5808ca7dcfb74 (patch) | |
tree | 6d1e4f88990203797a405fe673143d660f49cb90 /lib/htmloutputter.php | |
parent | d933ee7bad47aeb3267dd9c23633d3943478cfe1 (diff) | |
parent | edb62db613478d50def223ec1d60ef5863fa3a4b (diff) |
Merge branch '1.0.x' of git://gitorious.org/statusnet/mainline
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 5dc2b38da..7eccd6cc0 100644 --- a/lib/htmloutputter.php +++ b/lib/htmloutputter.php @@ -177,7 +177,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); |