diff --git a/content/student/studentrolledialog.xul.php b/content/student/studentrolledialog.xul.php index 9db40488e..72e314873 100644 --- a/content/student/studentrolledialog.xul.php +++ b/content/student/studentrolledialog.xul.php @@ -86,9 +86,7 @@ if($prestudent_id!='') $disabled = $bismeldestichtag->checkMeldestichtagErreicht($datum) && !$rechte->isBerechtigt('student/keine_studstatuspruefung', null, 'suid') ? ' disabled="true"' : ''; - $isStatusBeforeStudent = in_array($status_kurzbz, array('Student','Diplomand','Absovlent','Incoming','Abbrecher','Unterbrecher')) - ? false - : true; + $isStatusBeforeStudent = !in_array($status_kurzbz, array('Student','Diplomand','Absovlent','Incoming','Abbrecher','Unterbrecher')); $disabledStudent = $isStatusBeforeStudent ? ' ' : ' disabled="true"';