diff --git a/vilesci/bis/lehrgangsmeldung.php b/vilesci/bis/lehrgangsmeldung.php index c2ddb777c..dd7597689 100644 --- a/vilesci/bis/lehrgangsmeldung.php +++ b/vilesci/bis/lehrgangsmeldung.php @@ -691,14 +691,19 @@ if($result = $db->db_query($qry)) return ''; } $gsblock.=" - - ".$rowgs->mobilitaetsprogramm_code." - ".$rowgs->programm_code." - ".$studtyp." - ".$rowgs->partner_code." - ".$studstatuscode." - ".(isset($rowgs->studienkennung_uni) ? "".$rowgs->studienkennung_uni."" : "")." - "; + + ".$rowgs->mobilitaetsprogramm_code." + ".$rowgs->programm_code." + ".$studtyp." + ".$rowgs->partner_code." + ".$studstatuscode.""; + if (isset($rowgs->studienkennung_uni)) + { + $gsblock.=" + ".$rowgs->studienkennung_uni.""; + } + $gsblock.=" + "; } } @@ -782,16 +787,18 @@ if($result = $db->db_query($qry)) $datei.=" ".trim($row->matrikelnr)." - ".$row->matr_nr." - ".date("dmY", $datumobj->mktime_fromdate($row->gebdatum))." - ".strtoupper($row->geschlecht).""; - + ".$row->matr_nr.""; + if (!$ausserordentlich) { $datei .= " - " . $orgform_code_array[$storgform] . ""; + " . $orgform_code_array[$storgform] . ""; } + $datei.=" + ".date("dmY", $datumobj->mktime_fromdate($row->gebdatum))." + ".strtoupper($row->geschlecht).""; + if ($row->titelpre != '') { $datei .= " @@ -823,8 +830,7 @@ if($result = $db->db_query($qry)) if($row->bpk != '' && $row->bpk != null) { $datei.=" - ".$row->bpk." - "; + ".$row->bpk.""; } $datei.="