Skip to content
Snippets Groups Projects
Commit f022bd4f authored by Anton Bagliy's avatar Anton Bagliy
Browse files

FIX: converting 'null' to null for deleting absence in exam table #286

parent 02088abf
Branches
No related merge requests found
......@@ -258,6 +258,10 @@ class Model_Rating extends Model
}
public static function SetExamPeriodOptionSQL($recordBookID, $submoduleID, $option) {
// Для удаления неявки или автомата можно сделать так:
//if ($option === 'null') {
// $option = '';
//}
$sql = 'SELECT * FROM Discipline_SetExamPeriodOption(:recordBook, :submodule, :option) as "Num"';
$dbAnswer = DB::query(Database::SELECT, $sql)
->parameters([
......
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