fix Исправлено получения значения запроса
This commit is contained in:
parent
ca2bcc428f
commit
7c0a5ab310
1 changed files with 2 additions and 1 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue