فهرست منبع

model sethandled

xiaoyu 1 سال پیش
والد
کامیت
81956492fb
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      data/model/refill_exception.model.php

+ 1 - 1
data/model/refill_exception.model.php

@@ -31,7 +31,7 @@ class refill_exceptionModel extends Model
     public function setHandled($exc_id, $update)
     {
         $update['except_state'] = 1;
-        return $this->where(['except_id' => $exc_id])->update($update);
+        return $this->table('refill_exception')->where(['except_id' => $exc_id])->update($update);
     }
 
     public function add_except($datas)