mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-21 17:02:19 +00:00
bugfix generateMatrikelnnummer, Reihenfolge validierung turnIntoStudent
This commit is contained in:
@@ -108,9 +108,9 @@ class Student_model extends DB_Model
|
||||
$max = 0;
|
||||
if ($matrikelnrres && hasData($matrikelnrres)) {
|
||||
$max = mb_substr($matrikelnrres->retval[0]->matrikelnr, 7);
|
||||
if (!is_numeric($max)) {
|
||||
/* if (!is_numeric($max)) {
|
||||
$max = 0;
|
||||
}
|
||||
}*/
|
||||
}
|
||||
|
||||
$max += 1;
|
||||
|
||||
Reference in New Issue
Block a user