Fixes on webmodel
This commit is contained in:
parent
e31a89a538
commit
1d19037145
2 changed files with 3 additions and 4 deletions
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace PhangoApp\PhaModels;
|
||||
|
||||
use PhangoApp\PhaModels\CoreFields;
|
||||
use PhangoApp\PhaI18n\I18n;
|
||||
|
||||
/**
|
||||
|
|
@ -243,7 +242,7 @@ class Webmodel {
|
|||
|
||||
$this->name=$name_model;
|
||||
$this->idmodel='Id'.ucfirst($this->name);
|
||||
$this->components[$this->idmodel]=new CoreFields\PrimaryField();
|
||||
$this->components[$this->idmodel]=new \PrimaryField();
|
||||
$this->label=$this->name;
|
||||
|
||||
if(!isset(Webmodel::$connection_func[$this->db_selected]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue