2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-04 05:16:45 +00:00

33_readingsGroup.pm: fix for valueFormat and headings

git-svn-id: https://svn.fhem.de/fhem/trunk@7078 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2014-11-28 10:18:07 +00:00
parent 2317f6d31b
commit 39b6b1759e

View File

@ -490,7 +490,7 @@ readingsGroup_2html($)
next if( !defined($txt) );
}
my $value_format = lookup2($hash->{helper}{valueFormat},$name,$1,undef);
my $value_format = lookup2($hash->{helper}{valueFormat},$name,$1,"");
next if( !defined($value_format) );
if( $value_format =~ m/%/ ) {
$txt = sprintf( $value_format, $txt );