33_readingsGroup.pm: now the real fix for valueFormat == 0

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@7406 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2015-01-02 15:02:11 +00:00
parent e407a161a2
commit ac1f42a1c9

View File

@@ -712,7 +712,7 @@ readingsGroup_2html($;$)
next if( !defined($value_format) );
if( $value_format =~ m/%/ ) {
$v = sprintf( $value_format, $v );
} elsif( $value_format != "" ) {
} elsif( $value_format ne "" ) {
$v = $value_format;
}
@@ -1015,7 +1015,7 @@ readingsGroup_Notify($$)
$value = "";
} elsif( $value_format =~ m/%/ ) {
$value = sprintf( $value_format, $value );
} elsif( $value_format != "" ) {
} elsif( $value_format ne "" ) {
$value = $value_format;
}
}