mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-02-07 23:09:26 +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:
parent
91790c3ba0
commit
52873388d1
@ -850,7 +850,8 @@ sub HMinfo_tempListTmplView() { ###############################################
|
|||||||
|
|
||||||
my @tNfound = (); # templates found in files
|
my @tNfound = (); # templates found in files
|
||||||
push @tNfound, @{$defs{$n}{helper}{weekplanList}} if (defined $defs{$n}{helper}{weekplanList}
|
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 = "";
|
my $ret = "";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user