diff options
Diffstat (limited to 'program/include/html.php')
-rw-r--r-- | program/include/html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/program/include/html.php b/program/include/html.php index b73c54a8c..27d1d7750 100644 --- a/program/include/html.php +++ b/program/include/html.php @@ -75,7 +75,7 @@ class html $suffix = $attrib['nl'] || ($content && $attrib['nl'] !== false && !in_array($tagname, $inline_tags)) ? "\n" : ''; $tagname = self::$lc_tags ? strtolower($tagname) : $tagname; - if ($content || in_array($tagname, self::$containers)) { + if (isset($content) || in_array($tagname, self::$containers)) { $templ = $attrib['noclose'] ? "<%s%s>%s" : "<%s%s>%s</%s>%s"; unset($attrib['noclose']); return sprintf($templ, $tagname, self::attrib_string($attrib, $allowed_attrib), $content, $tagname, $suffix); |