changed all boolean parameters to getBoolParam-function

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2018-12-04 14:40:11 +01:00
parent 07d7908f6e
commit 5dd915736b
15 changed files with 80 additions and 106 deletions

View File

@@ -85,7 +85,7 @@ class Cronjobs extends ApiCommand implements ResourceEntity
$cur_int = explode(" ", $result['interval']);
// parameter
$isactive = $this->getParam('isactive', true, $result['isactive']);
$isactive = $this->getBoolParam('isactive', true, $result['isactive']);
$interval_value = $this->getParam('interval_value', true, $cur_int[0]);
$interval_interval = $this->getParam('interval_interval', true, $cur_int[1]);