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

fix

parent bd25ea3b
Branches
Tags
No related merge requests found
......@@ -1038,6 +1038,10 @@ BEGIN
DECLARE semID, checker INT;
SET semID = GetCurSemesterID();
IF NOT (Grade > 0) THEN
RETURN -1;
END IF;
SELECT departments.ID
INTO checker
FROM `departments`
......@@ -1058,6 +1062,7 @@ BEGIN
END IF;
INSERT INTO `disciplines` ( disciplines.AuthorID,
disciplines.Grade,
disciplines.SubjectID,
......
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