mirror of
https://github.com/fhem/fhem-mirror.git
synced 2025-04-20 13:26:02 +00:00
98_configdb.pm: fix command 'list'
git-svn-id: https://svn.fhem.de/fhem/trunk@15783 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
parent
8bb7359ed5
commit
186dd42294
@ -218,8 +218,8 @@ sub CommandConfigdb($$) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
when ('list') {
|
when ('list') {
|
||||||
$param1 //= '%';
|
$param1 = $param1 ? $param1 : '%';
|
||||||
$param2 //= 0;
|
$param2 = $param2 ? $param2 : 0;
|
||||||
$ret = "list not allowed for configDB itself.";
|
$ret = "list not allowed for configDB itself.";
|
||||||
break if($param1 =~ m/configdb/i);
|
break if($param1 =~ m/configdb/i);
|
||||||
Log3('configdb', 4, "configdb: list requested for device: $param1 in version $param2.");
|
Log3('configdb', 4, "configdb: list requested for device: $param1 in version $param2.");
|
||||||
|
Loading…
x
Reference in New Issue
Block a user