workaround for https://rt.cpan.org/Ticket/Display.html?id=93244
This commit is contained in:
@@ -9,6 +9,7 @@
|
|||||||
[ENHANCEMENTS]
|
[ENHANCEMENTS]
|
||||||
|
|
||||||
* Kwalitee fixes
|
* Kwalitee fixes
|
||||||
|
* workaround for https://rt.cpan.org/Ticket/Display.html?id=93244
|
||||||
|
|
||||||
2.023002 - 2014-02-17
|
2.023002 - 2014-02-17
|
||||||
|
|
||||||
|
|||||||
@@ -372,8 +372,8 @@ sub carrying_vlan {
|
|||||||
if ref {} ne ref $cond or !exists $cond->{vlan};
|
if ref {} ne ref $cond or !exists $cond->{vlan};
|
||||||
|
|
||||||
$cond->{'-and'} ||= [];
|
$cond->{'-and'} ||= [];
|
||||||
push @{$cond->{'-and'}}, 'vlans.vlan' => $cond->{vlan};
|
push @{$cond->{'-and'}}, { 'vlans.vlan' => $cond->{vlan} };
|
||||||
push @{$cond->{'-and'}}, 'port_vlans.vlan' => delete $cond->{vlan};
|
push @{$cond->{'-and'}}, { 'port_vlans.vlan' => delete $cond->{vlan} };
|
||||||
|
|
||||||
return $rs
|
return $rs
|
||||||
->search_rs($cond,
|
->search_rs($cond,
|
||||||
|
|||||||
Reference in New Issue
Block a user