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:
rudolfkoenig 2020-09-18 19:00:46 +00:00
parent b959e37c3e
commit 3b68ab834f

View File

@ -76,8 +76,8 @@ sr_alt($$$$$$$$$;$$)
} elsif($altit =~ /HORIZON=([\-\+]*[0-9\.]+)/i) {
$altit=$1;
} else {
$altit=-6; #default
unshift @_, $altit # make altit optional.
unshift @_, $altit; # make altit optional.
$altit=-6; # default
}
my $seconds = shift;