mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-01-31 18:59:33 +00:00
Unit.pm: make rtype reading attribute mandatory
git-svn-id: https://svn.fhem.de/fhem/trunk@12971 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
c49bf811e0
commit
5cbf51cef9
@ -2872,7 +2872,7 @@ sub replaceTemplate ($$$$;$) {
|
||||
&& defined( $odesc->{value}{$lang} ) );
|
||||
|
||||
return $value
|
||||
if ( !defined($value) || $value eq "" );
|
||||
if ( !defined($value) || $value eq "" || !defined( $odesc->{rtype} ) );
|
||||
|
||||
# clone
|
||||
my $desc;
|
||||
|
Loading…
Reference in New Issue
Block a user