mirror of
https://github.com/hzyitc/openwrt-redmi-ax3000.git
synced 2025-12-18 17:32:58 +00:00
fix a warning
SVN-Revision: 9667
This commit is contained in:
parent
eeebde136d
commit
e484fd5100
@ -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;
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user