From e096edf6e128ce30d9d2f9fe2cf723e2df47273a Mon Sep 17 00:00:00 2001 From: arnoaugustin Date: Mon, 17 Sep 2012 13:11:31 +0000 Subject: [PATCH] 90_at moduls splits on spaces. Allow only Horizon= for functions git-svn-id: svn://svn.code.sf.net/p/fhem/code/trunk@1858 2b470e98-0d58-463d-a4d8-8e2adae1ed80 --- fhem/FHEM/99_SUNRISE_EL.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fhem/FHEM/99_SUNRISE_EL.pm b/fhem/FHEM/99_SUNRISE_EL.pm index 8c27aaef3..9d1715912 100755 --- a/fhem/FHEM/99_SUNRISE_EL.pm +++ b/fhem/FHEM/99_SUNRISE_EL.pm @@ -61,7 +61,7 @@ sr_alt($$$$$$$) if(exists $alti{uc($altit)}) { $altit=$alti{uc($altit)}; shift; - } elsif($altit =~ /HORIZON.*?([\-\+]*[0-9\.]+)/i) { + } elsif($altit =~ /HORIZON=([\-\+]*[0-9\.]+)/i) { $altit=$1; shift; } else {