mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-03-10 03:06:37 +00:00
98_configdb.pm: fix diff problem
git-svn-id: https://svn.fhem.de/fhem/trunk@18754 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
21c6e10610
commit
66e64a9aea
@ -65,10 +65,10 @@ sub CommandConfigdb($$) {
|
||||
|
||||
when ('diff') {
|
||||
return "\n Syntax: configdb diff <device> <version>" if @a != 3;
|
||||
return "Invalid paramaeter '$param1' for diff. Must be a number."
|
||||
unless looks_like_number($param1);
|
||||
# return "Invalid paramaeter '$param1' for diff. Must be a number."
|
||||
# unless looks_like_number($param1);
|
||||
return "Invalid paramaeter '$param2' for diff. Must be a number."
|
||||
unless looks_like_number($param2);
|
||||
unless (looks_like_number($param2) || $param2 eq 'current');
|
||||
Log3('configdb', 4, "configdb: diff requested for device: $param1 in version $param2.");
|
||||
$ret = _cfgDB_Diff($param1, $param2);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user