2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-02-01 01:09:47 +00:00

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

git-svn-id: https://svn.fhem.de/fhem/trunk@7406 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme-1968 2015-01-02 15:02:11 +00:00
parent 638d4c78e2
commit 7ca2f28f07

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