Ver Fonte

fix a warning

SVN-Revision: 9667
Felix Fietkau há 18 anos atrás
pai
commit
e484fd5100
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      scripts/feeds

+ 1 - 1
scripts/feeds

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