From 45c71a47c8bc39a780583258bede54a9bd9c452c Mon Sep 17 00:00:00 2001 From: martinp876 <> Date: Sat, 30 May 2020 05:18:20 +0000 Subject: [PATCH] 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 --- FHEM/98_HMinfo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FHEM/98_HMinfo.pm b/FHEM/98_HMinfo.pm index de5c6b628..3539e20d6 100644 --- a/FHEM/98_HMinfo.pm +++ b/FHEM/98_HMinfo.pm @@ -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'); ####################################################