|
@@ -338,11 +338,11 @@ class Base extends ControllerBase {
|
|
|
|
|
|
$t = $request->query->get('terms');
|
|
|
|
|
|
- $this->terms = strlen($t) ? json_decode($t) : null;
|
|
|
+ $this->terms = $t && strlen($t) ? json_decode($t) : null;
|
|
|
|
|
|
|
|
|
$f = $request->query->get('filters');
|
|
|
- $this->filters = strlen($f) ? explode(',', $f) : null;
|
|
|
+ $this->filters = $f && strlen($f) ? explode(',', $f) : null;
|
|
|
|
|
|
|
|
|
|