Bugfix, reported by rufus99

git-svn-id: https://svn.fhem.de/fhem/trunk@240 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2008-09-11 16:04:25 +00:00
parent 32d52ca4c0
commit e3f99ffc71

View File

@@ -26,6 +26,7 @@ at_Define($$)
if(!$command) {
if($hash->{OLDDEF}) { # Called from modify, where command is optional
RemoveInternalTimer($name);
(undef, $command) = split("[ \t]+", $hash->{OLDDEF}, 2);
$hash->{DEF} = "$tm $command";
} else {