mirror of
https://gitee.com/fastadminnet/framework.git
synced 2026-07-01 20:52:48 +08:00
_before_write 问题 #208
This commit is contained in:
@@ -43,7 +43,7 @@ trait Adv
|
||||
* @param mixed $data 要操作的数据
|
||||
* @return boolean
|
||||
*/
|
||||
protected function _before_write($data)
|
||||
protected function _before_write(&$data)
|
||||
{
|
||||
// 检查序列化字段
|
||||
$data = $this->serializeField($data);
|
||||
|
||||
Reference in New Issue
Block a user