bugfix generateMatrikelnnummer, Reihenfolge validierung turnIntoStudent

This commit is contained in:
ma0068
2024-07-12 09:20:42 +02:00
parent 3706b0f972
commit 0bb5cb1fdc
2 changed files with 14 additions and 14 deletions
+2 -2
View File
@@ -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;