File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -69,15 +69,16 @@ public function createSeriesForSeminar($course_id)
6969 */
7070 private static function getSeriesDC ($ course_id )
7171 {
72- $ course = new \Seminar ($ course_id );
73- $ name = $ course ->getName () . ' - ' . $ course ->getStartSemesterName ();
74- $ license = "© " . gmdate ('Y ' ) . " " . $ GLOBALS ['UNI_NAME_CLEAN ' ];
75- $ inst = \Institute::find ($ course ->institut_id );
72+ $ uni_name_clean = \Config::get ()->getValue ('UNI_NAME_CLEAN ' ) ?: 'unbekannt ' ;
73+ $ course = new \Seminar ($ course_id );
74+ $ name = $ course ->getName () . ' - ' . $ course ->getStartSemesterName ();
75+ $ license = "© " . gmdate ('Y ' ) . " " . $ uni_name_clean ;
76+ $ inst = \Institute::find ($ course ->institut_id );
7677
7778 $ publisher = (string )$ inst ->name ;
7879 $ instructors = $ course ->getMembers ('dozent ' );
7980 $ instructor = array_shift ($ instructors );
80- $ contributor = \Config:: get ()-> getValue ( ' UNI_NAME_CLEAN ' ) ?: ' unbekannt ' ;
81+ $ contributor = $ uni_name_clean ;
8182 $ creator = $ instructor ['fullname ' ];
8283 $ language = 'de ' ;
8384
You can’t perform that action at this time.
0 commit comments