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:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user