mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
fix a warning
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9667 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
@@ -85,7 +85,7 @@ sub search_feed {
|
|||||||
foreach my $substr (@substr) {
|
foreach my $substr (@substr) {
|
||||||
my $match;
|
my $match;
|
||||||
foreach my $key (qw(name title description)) {
|
foreach my $key (qw(name title description)) {
|
||||||
$substr and $pkg->{$key} =~ m/$substr/i and $match = 1;
|
$pkg->{$key} and $substr and $pkg->{$key} =~ m/$substr/i and $match = 1;
|
||||||
}
|
}
|
||||||
$match or undef $pkgmatch;
|
$match or undef $pkgmatch;
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user