X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fhtmloutputter.php;h=fdb693f92cea68b8777732c4a59a0d29261e41eb;hb=1d29ba83150bdd7a23e497ca9a743ac2b6158b6f;hp=b341d14958b44c04615924644d36fd73a1513afe;hpb=90c7ff1983a51b0883532be81be1afdd9d02a24c;p=quix0rs-gnu-social.git diff --git a/lib/htmloutputter.php b/lib/htmloutputter.php index b341d14958..fdb693f92c 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);