many bugfixes

changed some tbl_student to tbl_prestudent
This commit is contained in:
Andreas Moik
2016-04-27 13:42:29 +02:00
parent bda7a51ab2
commit 5d3032e5de
14 changed files with 301 additions and 116 deletions
+3 -3
View File
@@ -128,7 +128,7 @@ function getStudentsFromGroup($studiengang_kz, $semester, $verband, $gruppe, $gr
if($gruppe_kurzbz=='')
{
$qry = "SELECT
distinct prestudent_id
distinct uid
FROM
public.tbl_studentlehrverband
JOIN public.tbl_prestudent USING(prestudent_id)
@@ -150,7 +150,7 @@ function getStudentsFromGroup($studiengang_kz, $semester, $verband, $gruppe, $gr
else
{
$qry = "SELECT
distinct uid as student_uid
distinct uid
FROM
public.tbl_benutzergruppe
LEFT JOIN
@@ -167,7 +167,7 @@ function getStudentsFromGroup($studiengang_kz, $semester, $verband, $gruppe, $gr
{
while($row = $db->db_fetch_object())
{
$students[]=$row->student_uid;
$students[]=$row->uid;
}
}