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:
justme-1968 2013-10-09 20:19:17 +00:00
parent a0866be3bd
commit bfde60a850

View File

@ -192,7 +192,7 @@ lookup2($$$$)
my $READING = $reading;
my $VALUE = $value;
$lookup = eval $lookup;
$lookup = "" if( !$lookup );
$lookup = "" if( $@ );
}
return $lookup;