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