fix Параметры для компонентов из get
This commit is contained in:
parent
7c0a5ab310
commit
29a18f5410
2 changed files with 2 additions and 2 deletions
|
|
@ -320,7 +320,7 @@ class Component
|
||||||
}
|
}
|
||||||
|
|
||||||
$params = new Collection();
|
$params = new Collection();
|
||||||
$params->import($arguments);
|
$params->import(array_merge($_GET, $arguments));
|
||||||
|
|
||||||
$component->parameter = $params;
|
$component->parameter = $params;
|
||||||
$component->template = $params->get('template', false);
|
$component->template = $params->get('template', false);
|
||||||
|
|
|
||||||
|
|
@ -96,7 +96,7 @@ class Form extends View {
|
||||||
$el->hint = $init['hint'];
|
$el->hint = $init['hint'];
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->field [$init['name']] = $el;
|
$this->field[$init['name']] = $el;
|
||||||
return $el;
|
return $el;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue