2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-01-31 12:49:34 +00:00

98_weekprofile: fix warning use of uninitialized value $attrMap

git-svn-id: https://svn.fhem.de/fhem/trunk@23760 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
Risiko 2021-02-17 18:52:35 +00:00
parent c3a60632ac
commit cc8f7361c5

View File

@ -1409,7 +1409,7 @@ sub weekprofile_createTempMap($) {
my $tempMap = AttrVal($me,"tempMap", $attrMap); my $tempMap = AttrVal($me,"tempMap", $attrMap);
return if (!defined($tempMap)); return if (!defined($tempMap));
Log3($me, 2, "$me(weekprofile_createTempMap): create map from $attrMap"); Log3($me, 2, "$me(weekprofile_createTempMap): create map from $tempMap");
$tempMap .= ','; $tempMap .= ',';
my @data = split(',',$tempMap); my @data = split(',',$tempMap);