mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-20 00:12:15 +00:00
Bugfixes Status edit
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user