2
0
mirror of https://github.com/fhem/fhem-mirror.git synced 2025-04-17 05:16: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:
betateilchen 2018-01-05 10:21:13 +00:00
parent 8bb7359ed5
commit 186dd42294

View File

@ -218,8 +218,8 @@ sub CommandConfigdb($$) {
}
when ('list') {
$param1 //= '%';
$param2 //= 0;
$param1 = $param1 ? $param1 : '%';
$param2 = $param2 ? $param2 : 0;
$ret = "list not allowed for configDB itself.";
break if($param1 =~ m/configdb/i);
Log3('configdb', 4, "configdb: list requested for device: $param1 in version $param2.");