diff --git a/lib/Helper/SanitizerService.php b/lib/Helper/SanitizerService.php index 6d00cb6b12..2a264ddb12 100644 --- a/lib/Helper/SanitizerService.php +++ b/lib/Helper/SanitizerService.php @@ -1,9 +1,23 @@ . */ namespace Xibo\Helper; @@ -25,7 +39,6 @@ public function getSanitizer($array) return (new RespectSanitizer()) ->setCollection($array) ->setDefaultOptions([ - 'throwClass' => '\Xibo\Support\Exception\InvalidArgumentException', 'checkboxReturnInteger' => true ]); }