From 3c47792c9086ce7a470622fa2e0069b52f6cc4ac Mon Sep 17 00:00:00 2001 From: thinkphp Date: Tue, 16 Feb 2016 16:15:14 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E8=87=AA=E5=8A=A8=E5=AE=8C?= =?UTF-8?q?=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- library/think/Model.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/think/Model.php b/library/think/Model.php index 362251f5..e37dbc35 100644 --- a/library/think/Model.php +++ b/library/think/Model.php @@ -1088,7 +1088,7 @@ class Model $options['exists_fill'] = isset($options['exists_fill']) ? $options['exists_fill'] : []; foreach ($rules as $key => $val) { // 数据自动填充 - $this->autoOperation($key, $val, $data); + $this->autoOperation($key, $val, $data, $options); } $this->options['auto'] = null; }