From ad8322839653f11c54d22c6de8edd970f66f0328 Mon Sep 17 00:00:00 2001 From: Harald Bamberger Date: Tue, 19 Aug 2025 17:34:23 +0200 Subject: [PATCH] do not terminatewithsuccess in function called in db transaction because this results in the transaction being rollbacked --- application/controllers/api/frontend/v1/stv/Student.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/controllers/api/frontend/v1/stv/Student.php b/application/controllers/api/frontend/v1/stv/Student.php index 506417ecc..4309e88a4 100644 --- a/application/controllers/api/frontend/v1/stv/Student.php +++ b/application/controllers/api/frontend/v1/stv/Student.php @@ -694,7 +694,7 @@ class Student extends FHCAPI_Controller return $result; }*/ - $this->terminateWithSuccess(true); + return success(true); } public function requiredIfNotPersonId($value)