2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-07 19:04:20 +00:00

Check for default (no parameter specified to sunrise)

git-svn-id: https://svn.fhem.de/fhem/trunk@1920 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig 2012-10-04 07:16:57 +00:00
parent 5f38a755de
commit 979bf952c0

View File

@ -57,7 +57,7 @@ sr_alt($$$$$$$)
my $rise=shift;
my $isrel=shift;
my $daycheck=shift;
my $altit=$_[0];
my $altit = defined($_[0]) ? $_[0] : "";
if(exists $alti{uc($altit)}) {
$altit=$alti{uc($altit)};
shift;