BugFix foe: "For repeating at's the config file gets lost."

git-svn-id: https://svn.fhem.de/fhem/trunk@2366 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
rudolfkoenig
2012-12-26 12:15:13 +00:00
parent f5c32df610
commit 7806cdd932

View File

@@ -131,6 +131,7 @@ at_Exec($)
$data{AT_RECOMPUTE} = 1; # Tell sunrise compute the next day
CommandDefine(undef, "$name at $def"); # Recompute the next TRIGGERTIME
$hash = $defs{$name};
delete($data{AT_RECOMPUTE});
$attr{$name} = $oldattr;
$hash->{CFGFN} = $oldCfgfn if($oldCfgfn);