mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-05-04 22:19:38 +00:00
Bugfix, reported by rufus99
git-svn-id: https://svn.fhem.de/fhem/trunk/fhem@240 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
34ae2be169
commit
b7aad99bc9
@ -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 {
|
||||
|
Loading…
x
Reference in New Issue
Block a user