Little fix for generate admin tables
This commit is contained in:
parent
38c882c6ee
commit
40719f8931
2 changed files with 11 additions and 1 deletions
|
|
@ -72,7 +72,9 @@ function padminConsole($options)
|
|||
foreach($arr_classes as $class)
|
||||
{
|
||||
|
||||
if(get_parent_class($class)==='PhangoApp\PhaModels\Webmodel')
|
||||
$parent_class=get_parent_class($class);
|
||||
|
||||
if($parent_class==='PhangoApp\PhaModels\Webmodel' && !isset(Webmodel::$model_type[$parent_class]))
|
||||
{
|
||||
|
||||
if(!isset(Webmodel::$model[strtolower($class)]))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue