Skip to content
Snippets Groups Projects
Commit 4b20f4b0 authored by PavelBegunkov's avatar PavelBegunkov
Browse files

fix #9

parent eb41253e
Branches
Tags
No related merge requests found
......@@ -1183,7 +1183,8 @@ BEGIN
WHERE disciplines.SubjectID = SubjectID AND
disciplines.SemesterID = semID AND
( disciplines_students.Type = 'attach' OR
(disciplines_students.Type != 'detach' AND disciplines_groups.StudyGroupID = groupID )
((disciplines_students.Type IS NULL OR disciplines_students.Type != 'detach') AND
disciplines_groups.StudyGroupID = groupID )
)
LIMIT 1;
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment