Commit afa4cf62 authored by zhuwei's avatar zhuwei

1

parent ddabd9c7
......@@ -36,7 +36,7 @@ class CActivity extends Model
{
Db::startTrans();
try {
$this->where('id', $id)->update($data);
$this->db_->where('id', $id)->update($data);
Db::commit();
return $id;
} catch (\Exception $e) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment