Studienplan in FAS-Liste

This commit is contained in:
Christian Paminger
2014-10-24 15:24:00 +00:00
parent c72a4ce361
commit 5cda898433
3 changed files with 28 additions and 16 deletions
+4 -1
View File
@@ -914,7 +914,9 @@ class prestudent extends person
return false;
}
$qry = "SELECT * FROM public.tbl_prestudentstatus WHERE prestudent_id=".$this->db_add_param($prestudent_id, FHC_INTEGER);
$qry = "SELECT tbl_prestudentstatus.*, bezeichnung AS studienplan_bezeichnung
FROM public.tbl_prestudentstatus LEFT JOIN lehre.tbl_studienplan USING (studienplan_id)
WHERE prestudent_id=".$this->db_add_param($prestudent_id, FHC_INTEGER);
if($studiensemester_kurzbz!='')
$qry.=" AND studiensemester_kurzbz=".$this->db_add_param($studiensemester_kurzbz);
@@ -940,6 +942,7 @@ class prestudent extends person
$this->bestaetigtvon = $row->bestaetigtvon;
$this->orgform_kurzbz = $row->orgform_kurzbz;
$this->studienplan_id = $row->studienplan_id;
$this->studienplan_bezeichnung = $row->studienplan_bezeichnung;
return true;
}
else