mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-06-01 12:19:28 +00:00
fas statusbearbeitung sperre check: isStatusBeforeStudent - simplified expression
This commit is contained in:
@@ -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"';
|
||||
|
||||
Reference in New Issue
Block a user