fix a warning

git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9667 3c298f89-4303-0410-b956-a3cf2f4a3e73
master
Felix Fietkau 2007-12-07 10:32:48 +00:00
parent f2f72a33c1
commit 4f58ce924f
1 changed files with 1 additions and 1 deletions

View File

@ -85,7 +85,7 @@ sub search_feed {
foreach my $substr (@substr) {
my $match;
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;
};