mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fix: allow undef valueFormat
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4027 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
a0866be3bd
commit
bfde60a850
@ -192,7 +192,7 @@ lookup2($$$$)
|
||||
my $READING = $reading;
|
||||
my $VALUE = $value;
|
||||
$lookup = eval $lookup;
|
||||
$lookup = "" if( !$lookup );
|
||||
$lookup = "" if( $@ );
|
||||
}
|
||||
|
||||
return $lookup;
|
||||
|
Loading…
x
Reference in New Issue
Block a user