mirror of
https://github.com/FH-Complete/FHC-Core.git
synced 2026-07-19 07:52:16 +00:00
Added additional parameter checks
This commit is contained in:
@@ -130,7 +130,7 @@ class Prestudent extends APIv1_Controller
|
||||
$von = $this->get('von');
|
||||
$bis = $this->get('bis');
|
||||
|
||||
if (isset($status_kurzbz))
|
||||
if (isset($status_kurzbz) && isset($von) && isset($bis))
|
||||
{
|
||||
$result = $this->PersonModel->getPersonFromStatus(
|
||||
$status_kurzbz,
|
||||
|
||||
Reference in New Issue
Block a user