Fix issue with limit of participants
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
0da24788d0
commit
a6e337e046
@ -104,7 +104,7 @@ class InputService {
|
|||||||
|
|
||||||
public function filterValueMax($int)
|
public function filterValueMax($int)
|
||||||
{
|
{
|
||||||
return $this->filterInteger($int) >= 1;
|
return $this->filterInteger($int) >= 1 ? $this->filterInteger($int) : false;
|
||||||
}
|
}
|
||||||
|
|
||||||
public function filterBoolean($boolean) {
|
public function filterBoolean($boolean) {
|
||||||
|
Loading…
Reference in New Issue
Block a user