Skip to content

Commit 216973d

Browse files
authored
Merge pull request #2981 from drgrice1/bugfix/gateway-test-nav
Fix the test nav.
2 parents 980a79f + d82338c commit 216973d

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/WeBWorK/ContentGenerator/GatewayQuiz.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1378,7 +1378,7 @@ sub nav ($c, $args) {
13781378
# Find all versions of this set that have been taken (excluding those taken by the current user).
13791379
my @userVersions =
13801380
$db->listSetVersionsWhere({ user_id => { '!=' => $userID }, set_id => { like => "$setID,v\%" } });
1381-
my %users = map { $_->user_id => 1 } @userVersions;
1381+
my %users = map { $_->[0] => 1 } @userVersions;
13821382
my @allUserRecords =
13831383
grep { $users{ $_->{user_id} } }
13841384
$c->db->getUsersWhere({ -and => { user_id => { not_like => 'set_id:%' } }, user_id => { '!=' => $userID } },

0 commit comments

Comments
 (0)