mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 09:16:53 +00:00
FIX: Unknown command causes a crash
git-svn-id: https://svn.fhem.de/fhem/trunk@3003 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
0bb592a6c0
commit
661a5c75bc
@ -759,7 +759,8 @@ AnalyzeCommand($$)
|
||||
}
|
||||
}
|
||||
|
||||
$fn = $cmds{$fn}{ReplacedBy} if(defined($cmds{$fn}{ReplacedBy}));
|
||||
$fn = $cmds{$fn}{ReplacedBy}
|
||||
if(defined($cmds{$fn}) && defined($cmds{$fn}{ReplacedBy}));
|
||||
|
||||
#############
|
||||
# autoload commands.
|
||||
|
Loading…
x
Reference in New Issue
Block a user