2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 18:59:33 +00:00

HMInfo:Bug-fix for array handling - minor

git-svn-id: https://svn.fhem.de/fhem/trunk@22171 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
martinp876 2020-06-12 12:35:22 +00:00
parent 91790c3ba0
commit 52873388d1

View File

@ -850,7 +850,8 @@ sub HMinfo_tempListTmplView() { ###############################################
my @tNfound = (); # templates found in files
push @tNfound, @{$defs{$n}{helper}{weekplanList}} if (defined $defs{$n}{helper}{weekplanList}
&& ref($defs{$n}{helper}{weekplanList}) eq 'ARRAY');
&& ref($defs{$n}{helper}{weekplanList}) eq 'ARRAY'
&& 0 < scalar(@{$defs{$n}{helper}{weekplanList}}));
####################################################
my $ret = "";