diff --git a/cis/public/registration.php b/cis/public/registration.php index 83f43c069..6949ba91e 100755 --- a/cis/public/registration.php +++ b/cis/public/registration.php @@ -362,12 +362,15 @@ if (isset($_POST['userid'])) foreach($stg->result as $result) { - $checked = ''; - $typ = new studiengang(); - $typ->getStudiengangTyp($result->typ); - if(in_array($result->studiengang_kz, $studiengaenge) || $result->studiengang_kz == $stg_auswahl) - $checked = 'checked'; - echo '   '.$result->bezeichnung.''; + if($result->studiengang_kz > 0) + { + $checked = ''; + $typ = new studiengang(); + $typ->getStudiengangTyp($result->typ); + if(in_array($result->studiengang_kz, $studiengaenge) || $result->studiengang_kz == $stg_auswahl) + $checked = 'checked'; + echo '   '.$result->bezeichnung.''; + } } echo'