Skip to content

Commit

Permalink
Internal: Avoid duplicate 'AND' in SQL query
Browse files Browse the repository at this point in the history
  • Loading branch information
ywarnier committed Dec 27, 2023
1 parent a64ca4f commit f29116e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion public/main/tracking/exams.php
Original file line number Diff line number Diff line change
Expand Up @@ -558,7 +558,7 @@ function processStudentList($filter_score, $global, Cquiz $exercise, $courseInfo
WHERE
c_id = $courseId AND
exe_exo_id = $exerciseId AND
exe_user_id= $studentId AND
exe_user_id= $studentId
$sessionCondition
";
$result = Database::query($sql);
Expand Down

0 comments on commit f29116e

Please # to comment.