From c2e300d6afd0a211beab9e2600ebe080937cd566 Mon Sep 17 00:00:00 2001 From: PavelBegunkov <asml.Silence@gmail.com> Date: Sun, 31 Aug 2014 17:36:25 +0400 Subject: [PATCH] fix --- db/StoredProcedures.sql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/db/StoredProcedures.sql b/db/StoredProcedures.sql index 9617b1388..522a8cb4b 100644 --- a/db/StoredProcedures.sql +++ b/db/StoredProcedures.sql @@ -1844,8 +1844,8 @@ BEGIN LIMIT 1; - IF (checker = 0 AND ExamType = 'credit') OR - (checker = 1 AND ExamType = 'exam') + IF (checker = 1 AND ExamType = 'credit') OR + (checker = 0 AND ExamType = 'exam') THEN UPDATE `disciplines` SET disciplines.ExamType = ExamType -- GitLab