From ae4c06f481672b7c8428c54a84971ede3c8a76dd Mon Sep 17 00:00:00 2001 From: cgfhtw Date: Wed, 22 May 2024 13:09:18 +0200 Subject: [PATCH] Bugfix: Typo validations --- application/controllers/api/frontend/v1/stv/Student.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/controllers/api/frontend/v1/stv/Student.php b/application/controllers/api/frontend/v1/stv/Student.php index fbff10b58..6b018ec8b 100644 --- a/application/controllers/api/frontend/v1/stv/Student.php +++ b/application/controllers/api/frontend/v1/stv/Student.php @@ -134,9 +134,9 @@ class Student extends FHCAPI_Controller $result = $this->udflib->getCiValidations($this->PersonModel, $this->input->post()); //TODO(Manu) check with Chris: input number not allowed - $fieldValidations = $this->getDataOrTerminateWithError($result); + $field_validations = $this->getDataOrTerminateWithError($result); - $this->form_validation->set_rules($fieldvalidations); + $this->form_validation->set_rules($field_validations); if (!$this->form_validation->run()) $this->terminateWithValidationErrors($this->form_validation->error_array());