mirror of
git://git.proxmox.com/git/pve-common.git
synced 2025-01-11 13:17:36 +03:00
map_path_to_methods: do not skip folders which evaluate to false
This commit is contained in:
parent
89a3d8347d
commit
844a246d44
@ -274,7 +274,7 @@ sub map_path_to_methods {
|
||||
|
||||
my $path_lookup = $method_path_lookup->{$class};
|
||||
|
||||
while (my $comp = shift @$stack) {
|
||||
while (defined(my $comp = shift @$stack)) {
|
||||
return undef if !$path_lookup; # not registerd?
|
||||
if ($path_lookup->{regex}) {
|
||||
my $name = $path_lookup->{regex}->{match_name};
|
||||
|
Loading…
Reference in New Issue
Block a user