mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
99_SUNRISE_EL.pm: bugfix of the bugfix (Forum #114271)
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@22789 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
b959e37c3e
commit
3b68ab834f
@ -76,8 +76,8 @@ sr_alt($$$$$$$$$;$$)
|
|||||||
} elsif($altit =~ /HORIZON=([\-\+]*[0-9\.]+)/i) {
|
} elsif($altit =~ /HORIZON=([\-\+]*[0-9\.]+)/i) {
|
||||||
$altit=$1;
|
$altit=$1;
|
||||||
} else {
|
} else {
|
||||||
|
unshift @_, $altit; # make altit optional.
|
||||||
$altit=-6; # default
|
$altit=-6; # default
|
||||||
unshift @_, $altit # make altit optional.
|
|
||||||
}
|
}
|
||||||
|
|
||||||
my $seconds = shift;
|
my $seconds = shift;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user