This commit is contained in:
Oliver Gorwits
2014-02-22 08:41:32 +00:00
parent 937661dd31
commit c1799a8a05
2 changed files with 3 additions and 2 deletions

View File

@@ -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

View File

@@ -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,