diff --git a/application/controllers/api/frontend/v1/Abgabe.php b/application/controllers/api/frontend/v1/Abgabe.php index b0c0eb1c6..dc859f605 100644 --- a/application/controllers/api/frontend/v1/Abgabe.php +++ b/application/controllers/api/frontend/v1/Abgabe.php @@ -124,7 +124,7 @@ class Abgabe extends FHCAPI_Controller $this->terminateWithError($this->p->t('abgabetool', 'c4noAssignedStudentForProjektarbeitID')); } $data = getData($res)[0]; - $student_uid = $data->student_uid; + $student_uid = $data->uid; $zugeordnet = $this->checkZuordnung($projektarbeit_id, getAuthUID()); if(getAuthUID() == $student_uid || $zugeordnet) { @@ -1189,7 +1189,7 @@ class Abgabe extends FHCAPI_Controller $this->terminateWithError($this->p->t('abgabetool', 'c4noAssignedStudentForProjektarbeitID')); } $data = getData($res)[0]; - $student_uid = $data->student_uid; + $student_uid = $data->uid; $studiengang_kz = $data->studiengang_kz; $res = $this->ProjektarbeitModel->checkZuordnung($student_uid, $betreuer_uid);