fix: [metaTemplate:view] Repair `Field` child

pull/89/head
Sami Mokaddem 2022-03-08 17:49:18 +01:00
parent 66572a788f
commit 7a16c2c792
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
2 changed files with 3 additions and 6 deletions

View File

@ -10,12 +10,6 @@ use Cake\ORM\TableRegistry;
use Cake\Utility\Inflector;
use Cake\Database\Expression\QueryExpression;
use MetaFieldsTypes\TextType;
use MetaFieldsTypes\IPv4Type;
use MetaFieldsTypes\IPv6Type;
require_once(APP . 'Lib' . DS . 'default' . DS . 'meta_fields_types' . DS . 'TextType.php');
require_once(APP . 'Lib' . DS . 'default' . DS . 'meta_fields_types' . DS . 'IPv4Type.php');
require_once(APP . 'Lib' . DS . 'default' . DS . 'meta_fields_types' . DS . 'IPv6Type.php');
class MetaFieldsBehavior extends Behavior
{

View File

@ -9,6 +9,9 @@ use Cake\Validation\Validator;
use MetaFieldsTypes\TextType;
use MetaFieldsTypes\IPv4Type;
use MetaFieldsTypes\IPv6Type;
require_once(APP . 'Lib' . DS . 'default' . DS . 'meta_fields_types' . DS . 'TextType.php');
require_once(APP . 'Lib' . DS . 'default' . DS . 'meta_fields_types' . DS . 'IPv4Type.php');
require_once(APP . 'Lib' . DS . 'default' . DS . 'meta_fields_types' . DS . 'IPv6Type.php');
class MetaTemplateFieldsTable extends AppTable
{