diff --git a/src/ComponentRequest.php b/src/ComponentRequest.php index 15db81b..6bc7dbc 100644 --- a/src/ComponentRequest.php +++ b/src/ComponentRequest.php @@ -19,7 +19,8 @@ class ComponentRequest { if ($key == 'active_page') { return $this->r->get($key); } - if ($arr = $this->r->get($key)) { + $arr = $this->r->get($key); + if (!is_null($arr)) { if (is_array($arr)) { return Arr::get($arr, $this->component_id, $default); } else {