diff options
| author | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-12 10:47:04 +0000 |
|---|---|---|
| committer | alec <alec@208e9e7b-5314-0410-a742-e7e81cd9613c> | 2010-11-12 10:47:04 +0000 |
| commit | 2162c335a5444e7892a04aee72cddc17017ea7e4 (patch) | |
| tree | ec5f3f2e975e03436c1454a344b71ce976a43bfd /roundcubemail/program/include/html.php | |
| parent | fad50d371066cc8a7c043198e7cb60e571c8bc9f (diff) | |
- Fix handling of folders with name "0" (#1487119)
git-svn-id: https://svn.roundcube.net/trunk@4216 208e9e7b-5314-0410-a742-e7e81cd9613c
Diffstat (limited to 'roundcubemail/program/include/html.php')
| -rw-r--r-- | roundcubemail/program/include/html.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/roundcubemail/program/include/html.php b/roundcubemail/program/include/html.php index b73c54a8c..27d1d7750 100644 --- a/roundcubemail/program/include/html.php +++ b/roundcubemail/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); |
