HMInfo: correct tempList verification if there is no templist

git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@22071 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-05-30 05:18:20 +00:00
parent f031190bea
commit 45c71a47c8

View File

@ -849,7 +849,7 @@ sub HMinfo_tempListTmplView() { ###############################################
}
my @tNfound = (); # templates found in files
push @tNfound, @{$defs{hm}{helper}{weekplanList}} if ($defs{$n}{helper}{weekplanList}
push @tNfound, @{$defs{hm}{helper}{weekplanList}} if (defined $defs{$n}{helper}{weekplanList}
&& ref($defs{$n}{helper}{weekplanList}) eq 'ARRAY');
####################################################