fixed note init by object/object key on 2nd time opening the details modal in the assistenz view;

This commit is contained in:
Johann Hoffmann
2026-01-21 10:34:17 +01:00
parent 2471d37dd3
commit c9bcf9b9b0
2 changed files with 5 additions and 2 deletions
@@ -142,7 +142,6 @@ class Abgabe extends FHCAPI_Controller
$zugeordnet = $this->checkZuordnung($projektarbeit_id, getAuthUID());
if(getAuthUID() == $student_uid || $zugeordnet) {
$projektarbeitIsCurrent = false;
$returnFunc = function ($result) use (&$projektarbeitIsCurrent) {
$projektarbeitIsCurrent = $result;
@@ -825,6 +824,7 @@ class Abgabe extends FHCAPI_Controller
$tomail,
$subject
);
}
/**