2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-03-03 16:56:54 +00:00

HMInfo: correct tempList verification if there is no templist

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

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');
####################################################