Notice für UID entfernt

This commit is contained in:
Andreas Österreicher
2026-01-12 10:44:57 +01:00
parent 8f98d0c5a1
commit 3095f7ea8b
@@ -124,7 +124,7 @@ class Abgabe extends FHCAPI_Controller
$this->terminateWithError($this->p->t('abgabetool', 'c4noAssignedStudentForProjektarbeitID')); $this->terminateWithError($this->p->t('abgabetool', 'c4noAssignedStudentForProjektarbeitID'));
} }
$data = getData($res)[0]; $data = getData($res)[0];
$student_uid = $data->student_uid; $student_uid = $data->uid;
$zugeordnet = $this->checkZuordnung($projektarbeit_id, getAuthUID()); $zugeordnet = $this->checkZuordnung($projektarbeit_id, getAuthUID());
if(getAuthUID() == $student_uid || $zugeordnet) { if(getAuthUID() == $student_uid || $zugeordnet) {