diff --git a/Database/ActiveRecord.php b/Database/ActiveRecord.php index 77e7589d..4f3ef48e 100644 --- a/Database/ActiveRecord.php +++ b/Database/ActiveRecord.php @@ -314,6 +314,8 @@ class ActiveRecord extends BaseActiveRecord $attributes = Snowflake::app()->getAttributes(); $callback = $attributes->getByClass(static::class); + var_dump($callback); + $data = $this->_attributes; foreach ($callback as $key => $item) { foreach ($item['attributes'] as $attribute) {