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

fix #9.1

parent c5992b0d
Branches
Tags
No related merge requests found
......@@ -1183,8 +1183,7 @@ BEGIN
WHERE disciplines.SubjectID = SubjectID AND
disciplines.SemesterID = semID AND
( disciplines_students.Type = 'attach' OR
((disciplines_students.Type IS NULL 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;
......@@ -1251,7 +1250,7 @@ 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