trims the student information so that the value is falsy in javascript

This commit is contained in:
Simon Gschnell
2023-12-19 15:49:57 +01:00
parent 8666dbe3a6
commit 9c69d8cc46
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -639,7 +639,7 @@ class Profil extends Auth_Controller
$res->mittel = $betriebsmittelperson_res;
$res->matrikelnummer = $matr_res->matr_nr;
foreach($student_res as $key => $value){
$res->$key = $value;
$res->$key = trim($value);
}
$res->zuttritsgruppen = $zutrittsgruppe_res;