33_readingsGroup.pm: fix for valueFormat and headings

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7078 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2014-11-28 10:18:07 +00:00
parent 03af0cddfd
commit b1bc4f4b8b

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