Skip to content

Commit 47a0c3a

Browse files
authored
Merge pull request #18409 from adrianschroeter/fix_regexp_limit
[backend] fix regexp limit architecture filtering
2 parents 9120501 + 4281ae3 commit 47a0c3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/backend/bs_srcserver

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1171,7 +1171,7 @@ sub getprojpack {
11711171
my $limit = $BSConfig::limit_projects->{$arch};
11721172
if ($BSConfig::limit_projects_use_regex || $BSConfig::limit_projects_use_regex) {
11731173
$limit_projids = {};
1174-
for my $projid (splice @$projids) {
1174+
for my $projid (@$projids) {
11751175
$limit_projids->{$projid} = 1 if grep {$projid =~ /^$_$/} @$limit;
11761176
}
11771177
} else {

0 commit comments

Comments
 (0)