bugfixes changeStatus, generateMatrikelnummer, updateLists, validations

This commit is contained in:
ma0068
2024-07-15 15:41:45 +02:00
parent 5043f00c97
commit 58403ff00e
6 changed files with 351 additions and 317 deletions
+3 -3
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)) {
$max = 0;
}*/
if (!is_numeric($max)) {
$max = (int) $max;
}
}
$max += 1;