mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-22 06:29:27 +00:00
für die funktion getLVPlanFromUser wird jetzt zu jeder lehreinheit dessen lehrform zurückgegeben
This commit is contained in:
@@ -104,22 +104,21 @@ function getLVPlanFromUser($uid, $von, $bis, $authentifizierung)
|
||||
$Object->semester = $le->semester;
|
||||
$Object->institut = $le->fachbereich_kurzbz;
|
||||
$Object->lehrveranstaltung_id = $le->lehrveranstaltung_id;
|
||||
|
||||
$le_help = new lehreinheit();
|
||||
if($le_help->load($le->lehreinheit_id))
|
||||
$Object->lehrform = $le_help->lehrform_kurzbz;
|
||||
else
|
||||
$Object->lehrform = '';
|
||||
}
|
||||
|
||||
if(isset($Object->lehrveranstaltung_id))
|
||||
{
|
||||
$lv->load($Object->lehrveranstaltung_id);
|
||||
$Object->titel = $lv->bezeichnung;
|
||||
|
||||
$le_help = new lehreinheit();
|
||||
if($le_help->load($le->lehreinheit_id))
|
||||
$Object->lehrform = $le_help->lehrform_kurzbz;
|
||||
}
|
||||
else
|
||||
{
|
||||
$Object->titel = $row->titel;
|
||||
$Object->lehrform = $row->lehrform;
|
||||
|
||||
}
|
||||
//$Object->lehrform = $row->lehrform;
|
||||
|
||||
Reference in New Issue
Block a user