mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
fixed waring for undef valueFormat {...}
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@4784 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
1d90fae2a5
commit
a036bff0f3
@ -217,6 +217,8 @@ lookup2($$$$)
|
|||||||
$lookup = "" if( $@ );
|
$lookup = "" if( $@ );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
return $lookup if( !defined($lookup) );
|
||||||
|
|
||||||
$lookup =~ s/\%DEVICE/$name/g;
|
$lookup =~ s/\%DEVICE/$name/g;
|
||||||
$lookup =~ s/\%READING/$reading/g;
|
$lookup =~ s/\%READING/$reading/g;
|
||||||
$lookup =~ s/\%VALUE/$value/g;
|
$lookup =~ s/\%VALUE/$value/g;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user