From d5e82279180bc10afbde10793097fbea19728e6f Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Mon, 27 May 2024 12:45:10 +0200 Subject: [PATCH] Bugfix: api/frontend/fas controller do not inherit from FHCAPI_Controller --- .../controllers/api/frontend/fas/studstatus/Wiederholung.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/application/controllers/api/frontend/fas/studstatus/Wiederholung.php b/application/controllers/api/frontend/fas/studstatus/Wiederholung.php index c6e5a4fa9..19ace3d0d 100644 --- a/application/controllers/api/frontend/fas/studstatus/Wiederholung.php +++ b/application/controllers/api/frontend/fas/studstatus/Wiederholung.php @@ -63,7 +63,9 @@ class Wiederholung extends Auth_Controller $result = $this->antraglib->getLvsForPrestudent($prestudent_id, $sem_akt); - $lvs = $this->getDataOrTerminateWithError($result) ?: []; + if (isError($result)) + return $result; + $lvs = $result->retval; $rdf_url = 'http://www.technikum-wien.at/antragnote';