From a8c40cf41efccfeffe3f295c66ba919991ebf9ef Mon Sep 17 00:00:00 2001 From: jpawlowski Date: Wed, 29 Mar 2017 20:55:15 +0000 Subject: [PATCH] RESIDENTStk: fix array git-svn-id: https://svn.fhem.de/fhem/trunk@13851 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/RESIDENTStk.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/RESIDENTStk.pm b/fhem/FHEM/RESIDENTStk.pm index 827d5d047..23898c2fc 100644 --- a/fhem/FHEM/RESIDENTStk.pm +++ b/fhem/FHEM/RESIDENTStk.pm @@ -1671,7 +1671,7 @@ sub RESIDENTStk_sec2time($) { sub RESIDENTStk_time2sec($) { my ($s) = @_; - my @time = split /:/, $s; + my @t = split /:/, $s; $t[2] = 0 unless ( $t[2] ); return $t[0] * 3600 + $t[1] * 60 + $t[2];