fixed new line if first first item is <%...>

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@5032 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-02-23 22:02:16 +00:00
parent cb284f20f2
commit 513926da90

View File

@@ -402,6 +402,10 @@ readingsGroup_2html($)
($txt,undef) = readingsGroup_makeLink($txt,undef,$cmd);
if( $first || $multi == 1 ) {
$ret .= sprintf("<tr class=\"%s\">", ($row&1)?"odd":"even");
$row++;
}
} elsif( $first || $multi == 1 ) {
$ret .= sprintf("<tr class=\"%s\">", ($row&1)?"odd":"even");
$row++;