device property in _no/_only fails with error
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
2.022000
|
||||
|
||||
[NEW FEATURES]
|
||||
|
||||
*
|
||||
|
||||
[BUG FIXES]
|
||||
|
||||
* [#85] device property in _no/_only fails with error (R. Kerr)
|
||||
|
||||
2.021001
|
||||
|
||||
[NEW FEATURES]
|
||||
|
||||
@@ -92,7 +92,7 @@ sub check_acl {
|
||||
|
||||
# lazy version of vendor: and model:
|
||||
if ($device->can($prop) and defined $device->prop
|
||||
and $device->prop =~ m/^$match$/) {
|
||||
and $device->$prop =~ m/^$match$/) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user