From 1e641c75bd90be470f7b6d63a2f0d0b338453bab Mon Sep 17 00:00:00 2001 From: martinp876 Date: Tue, 3 Aug 2021 18:29:34 +0000 Subject: [PATCH] HMInfo:bugfix conditional dependency to CUL_HM git-svn-id: https://svn.fhem.de/fhem/trunk@24824 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/98_HMinfo.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/98_HMinfo.pm b/fhem/FHEM/98_HMinfo.pm index cae65af93..c8d5d2a68 100644 --- a/fhem/FHEM/98_HMinfo.pm +++ b/fhem/FHEM/98_HMinfo.pm @@ -1018,7 +1018,7 @@ sub HMinfo_listOfTempTemplates() { ############################################ $defs{$n}{helper}{weekplanList} = \@tmpl; if ($modules{CUL_HM}{AttrList}){ $modules{CUL_HM}{tempListTmplLst} = "none,defaultWeekplan,".join(",",sort @tmpl); - CUL_HM_AttrInit($modules{CUL_HM}); + CUL_HM_AttrInit($modules{CUL_HM}) if (eval "defined(&CUL_HM_AttrInit)"); } return ; }