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

FIX: semester id in logs_form_export when switching semesters #593

parent 282d7621
No related merge requests found
......@@ -100,12 +100,14 @@ class Controller_Api_V0_FinalReport extends Controller_Handler_Api
];
}
$semesterid = Model_Semesters::find($year, $num)->ID;
if ($emulate === "false" and isset($groupnum)) {
//$groupID = Model_Group::find($gradenum, $groupnum, $study_form, $faculty);
//TODO: поменять логи, не записывать id дисциплины
if (isset($disciplineID)) {
//Model_Logs::logFormExport($this->user->ID, $disciplineID, $groupid, $this->user["SemesterID"]);
Model_Logs::logFormExport($accountid, $disciplineID, $groupid, $this->user["SemesterID"]);
Model_Logs::logFormExport($accountid, $disciplineID, $groupid, $semesterid);
} else {
// pass
}
......
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