fix: allow undef valueFormat

git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@4027 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
justme1968
2013-10-09 20:19:17 +00:00
parent 60fea96b09
commit bc8ebc2dea

View File

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