From c315a791545733391c15e42bc747e34293d36a99 Mon Sep 17 00:00:00 2001 From: colly_wyx <wangyixiong_007@163.com> Date: Sat, 28 Apr 2018 14:50:19 +0800 Subject: [PATCH] 更新版本 --- application/core/System/Model/Base.php | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/application/core/System/Model/Base.php b/application/core/System/Model/Base.php index b6d815e..80a189b 100644 --- a/application/core/System/Model/Base.php +++ b/application/core/System/Model/Base.php @@ -56,7 +56,7 @@ * @param [type] $query [description] * @return [type] [description] */ - public function update($data, $query){ + public function update($data, $query = array()){ return $this->db->update($this->table, $data, $query); } -- Gitblit v1.8.0