Fixes in fields
This commit is contained in:
parent
737d0b7346
commit
3b85435367
4 changed files with 16 additions and 9 deletions
|
|
@ -2219,7 +2219,7 @@ class Webmodel {
|
|||
/*$rc=new \ReflectionClass($type);
|
||||
$this->components[$name]=$rc->newInstanceArgs($arguments);*/
|
||||
|
||||
$this->components[$name]=&$type_class;
|
||||
$this->components[$name]=$type_class;
|
||||
|
||||
//Set first label...
|
||||
$this->components[$name]->label=Webmodel::set_name_default($name);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue