X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=lib%2Fhtmloutputter.php;h=fdb693f92cea68b8777732c4a59a0d29261e41eb;hb=ced00cf0bdd4f119e2126e2eba18a3df7ee45c11;hp=b341d14958b44c04615924644d36fd73a1513afe;hpb=d8d9edfc990a20f67421e40a7d3055a58697a002;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);