2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 17:36:01 +00:00

webCmdFn layout fix

git-svn-id: https://svn.fhem.de/fhem/trunk@5065 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-02-27 14:36:35 +00:00
parent a80c474e0d
commit a65babea85

@ -452,7 +452,11 @@ readingsGroup_2html($)
last if(defined($htmlTxt));
}
$txt = $htmlTxt if( $htmlTxt );
if( $htmlTxt =~ m/<td colspan='2'>(.*)<\/td>/s ) {
$txt = $1;
} elsif( $htmlTxt ) {
$txt = $htmlTxt;
}
}
}
@ -563,7 +567,10 @@ readingsGroup_2html($)
last if(defined($htmlTxt));
}
if( $htmlTxt ) {
if( $htmlTxt =~ m/<td colspan='2'>(.*)<\/td>/s ) {
$v = $1;
$webCmdFn = 1;
} elsif( $htmlTxt ) {
$v = $htmlTxt;
$webCmdFn = 1;
}