Bugfixes Status edit

This commit is contained in:
cgfhtw
2024-07-26 11:29:08 +02:00
parent 916cecca73
commit 57e4f585fe
2 changed files with 4 additions and 4 deletions
@@ -266,7 +266,7 @@ class Prestudent extends FHCAPI_Controller
public function getStudienplaene($prestudent_id)
{
if (!is_int($prestudent_id))
if (!is_int((int)$prestudent_id) || (int)$prestudent_id . '' != $prestudent_id)
show_404();
$this->load->model('organisation/Studienplan_model', 'StudienplanModel');
$result = $this->StudienplanModel->getStudienplaeneByPrestudents($prestudent_id);