fix Исправлено получения значения запроса

This commit is contained in:
System Administrator 2023-03-16 16:27:52 +03:00
parent ca2bcc428f
commit 7c0a5ab310

View file

@ -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 {