diff --git a/app/Http/Requests/Fo/Products/AjaxFilterProductsRequest.php b/app/Http/Requests/Fo/Products/AjaxFilterProductsRequest.php index df57662..6b648ab 100644 --- a/app/Http/Requests/Fo/Products/AjaxFilterProductsRequest.php +++ b/app/Http/Requests/Fo/Products/AjaxFilterProductsRequest.php @@ -28,7 +28,8 @@ class AjaxFilterProductsRequest extends FormRequest { $this->merge([ 'vip' => $this->vip ? true : false, - 'subranges' => isset($this->subranges) ? explode(',', $this->subranges) : (\is_array($this->subranges) ? $this->subranges : []) + 'subranges' => isset($this->subranges) ? explode(',', $this->subranges) : + (\is_array($this->subranges) ? $this->subranges : []) ]); }