mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-24 02:59:22 +00:00
10_pilight_ctrl: FIX: Experimental splice on scalar is now forbidden
git-svn-id: https://svn.fhem.de/fhem/trunk@11722 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
02be8cef1d
commit
56a8ffeda9
@ -1,5 +1,6 @@
|
||||
# Add changes at the top of the list. Keep it in ASCII, and 80-char wide.
|
||||
# Do not insert empty lines here, update check depends on it.
|
||||
- bugfix: 10_pilight_ctrl: Experimental splice on scalar is now forbidden.
|
||||
- feature: 73_GasCalculator: "set" and "get" - command in GUI implemented.
|
||||
- bugfix: 50_TelegramBot: Unicode / Umlaute handling reworked
|
||||
- changed: 30_MilightBridge: Specify port in define
|
||||
|
@ -41,6 +41,7 @@
|
||||
# V 1.14 2016-03-20 - FIX: send delimiter to signal end of stream if length of data > 1024
|
||||
# V 1.15 2016-03-28 - NEW: protocol daycom (switch)
|
||||
# V 1.16 2016-06-02 - NEW: protocol oregon_21 (temp)
|
||||
# V 1.17 2016-06-28 - FIX: Experimental splice on scalar is now forbidden - use explizit array notation
|
||||
##############################################
|
||||
package main;
|
||||
|
||||
@ -194,7 +195,7 @@ sub pilight_ctrl_Close($)
|
||||
delete($hash->{helper}{RUNNING_PID});
|
||||
}
|
||||
|
||||
splice($hash->{helper}->{sendQueue});
|
||||
splice(@{$hash->{helper}->{sendQueue}});
|
||||
|
||||
RemoveInternalTimer($hash);
|
||||
Log3 $me, 5, "$me(Close): close DevIo";
|
||||
@ -562,7 +563,7 @@ sub pilight_ctrl_addWhiteList($$)
|
||||
sub pilight_ctrl_createWhiteList($)
|
||||
{
|
||||
my ($own) = @_;
|
||||
splice($own->{helper}->{whiteList});
|
||||
splice(@{$own->{helper}->{whiteList}});
|
||||
foreach my $d (keys %defs)
|
||||
{
|
||||
my $module = $defs{$d}{TYPE};
|
||||
|
Loading…
x
Reference in New Issue
Block a user