We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 980a79f + d82338c commit 216973dCopy full SHA for 216973d
1 file changed
lib/WeBWorK/ContentGenerator/GatewayQuiz.pm
@@ -1378,7 +1378,7 @@ sub nav ($c, $args) {
1378
# Find all versions of this set that have been taken (excluding those taken by the current user).
1379
my @userVersions =
1380
$db->listSetVersionsWhere({ user_id => { '!=' => $userID }, set_id => { like => "$setID,v\%" } });
1381
- my %users = map { $_->user_id => 1 } @userVersions;
+ my %users = map { $_->[0] => 1 } @userVersions;
1382
my @allUserRecords =
1383
grep { $users{ $_->{user_id} } }
1384
$c->db->getUsersWhere({ -and => { user_id => { not_like => 'set_id:%' } }, user_id => { '!=' => $userID } },
0 commit comments