fix a warning

SVN-Revision: 9667
This commit is contained in:
Felix Fietkau committed 2007-12-07 10:32:48 +00:00
1 parent eeebde136d
commit e484fd5100
1 file changed
+1 -1
+1 -1
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;
};