diff --git a/application/controllers/Cis/Profil.php b/application/controllers/Cis/Profil.php index aed70c0ae..0a3189fdd 100644 --- a/application/controllers/Cis/Profil.php +++ b/application/controllers/Cis/Profil.php @@ -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; diff --git a/public/js/components/Cis/Profil/StudentProfil.js b/public/js/components/Cis/Profil/StudentProfil.js index 850d4da68..f05c53dc6 100644 --- a/public/js/components/Cis/Profil/StudentProfil.js +++ b/public/js/components/Cis/Profil/StudentProfil.js @@ -366,9 +366,9 @@ export default {
- +
- +