bug beim laden des status tabs ohne meldestichtag

This commit is contained in:
ma0048
2025-09-16 08:40:40 +02:00
parent e589aff1f3
commit 651452d821
2 changed files with 2 additions and 3 deletions
@@ -114,9 +114,8 @@ class Status extends FHCAPI_Controller
$this->load->model('codex/Bismeldestichtag_model', 'BismeldestichtagModel');
$result = $this->BismeldestichtagModel->getLastReachedMeldestichtag();
$data = $this->getDataOrTerminateWithError($result);
$this->terminateWithSuccess($data);
$this->terminateWithSuccess(hasData($result) ? getData($result) : array());
}
public function isLastStatus($prestudent_id)