diff --git a/app/classes/Framadate/Services/InputService.php b/app/classes/Framadate/Services/InputService.php index 81dfe25..58f3c17 100644 --- a/app/classes/Framadate/Services/InputService.php +++ b/app/classes/Framadate/Services/InputService.php @@ -104,7 +104,7 @@ class InputService { public function filterValueMax($int) { - return $this->filterInteger($int) >= 1; + return $this->filterInteger($int) >= 1 ? $this->filterInteger($int) : false; } public function filterBoolean($boolean) {