diff --git a/.gitignore b/.gitignore index 3d7e132..1737af1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ vendor/ composer.lock .phpunit.result.cache +.idea diff --git a/src/Model/Behavior/UploadBehavior.php b/src/Model/Behavior/UploadBehavior.php index a98318b..6fbb058 100644 --- a/src/Model/Behavior/UploadBehavior.php +++ b/src/Model/Behavior/UploadBehavior.php @@ -46,7 +46,7 @@ public function initialize(array $config): void } } - $this->setConfig($configs); + $this->setConfig($configs, null, 'shallow'); $this->setConfig('className', null); $schema = $this->_table->getSchema();