cms update
This commit is contained in:
@@ -4,6 +4,7 @@ namespace catchAdmin\cms\tables\forms;
|
||||
use catchAdmin\cms\model\Category as CategoryModel;
|
||||
use catchAdmin\cms\support\DynamicFormFields;
|
||||
use catcher\library\form\Form;
|
||||
use catcher\Utils;
|
||||
|
||||
abstract class BaseForm extends Form
|
||||
{
|
||||
@@ -14,7 +15,7 @@ abstract class BaseForm extends Form
|
||||
$fields = parent::create(); // TODO: Change the autogenerated stub
|
||||
|
||||
if ($this->table) {
|
||||
return array_merge($fields, (new DynamicFormFields())->build($this->table));
|
||||
return array_merge($fields, (new DynamicFormFields())->build(Utils::tableWithPrefix($this->table)));
|
||||
}
|
||||
|
||||
return $fields;
|
||||
|
Reference in New Issue
Block a user