diff --git a/cis/private/lvplan/stpl_detail.php b/cis/private/lvplan/stpl_detail.php index f8f0182f0..8461ca111 100644 --- a/cis/private/lvplan/stpl_detail.php +++ b/cis/private/lvplan/stpl_detail.php @@ -180,13 +180,8 @@ $sql_query.=' ORDER BY titel LIMIT 100'; $erg_repl = $db->db_query($sql_query); $num_rows_repl = $db->db_num_rows($erg_repl); -$lvId=''; -$leId=''; -if ($row = $db->db_fetch_object($erg_stpl)) -{ - $lvId = $row->lehrveranstaltung_id; - $leId = $row->lehreinheit_id; -} + +$courses=array(); ?> @@ -207,21 +202,7 @@ echo ' if(file_exists('../../../addons/'.$addon->kurzbz.'/cis/init.js.php')) echo ''; } - // Wenn Seite fertig geladen ist Addons aufrufen - echo ' - - '; + echo '
@@ -274,6 +255,9 @@ if ($num_rows_stpl>0) $gesamtanzahl = ($anzahl_grp!=0?$anzahl_grp:$anzahl_lvb); $ort->load($ortkurzbz); + $lvdata = ['lvId'=> $row->lehrveranstaltung_id, 'leId'=>$row->lehreinheit_id]; + + array_push($courses, $lvdata); // no profile link for fake Mitarbeiter like Dummylektor, Personalnr must be > 0 $profileLink = true; $mitarbeiter = new mitarbeiter(); @@ -344,5 +328,20 @@ if ($num_rows_repl>0) echo ''.$p->t('lvplan/fehlerUndFeedback').' '.$p->t('lvplan/lvKoordinationsstelle').'.
-