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

git-svn-id: https://svn.fhem.de/fhem/trunk@5032 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-02-23 22:02:16 +00:00
parent b0a02554c6
commit 239f5af199

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++;