瀏覽代碼

委托单管理

huangsanjia 2 年之前
父節點
當前提交
a22f2bec6b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      application/admin/controller/Entrust.php

+ 1 - 1
application/admin/controller/Entrust.php

@@ -404,7 +404,7 @@ class Entrust extends Backend
             $entrust_res = Db::name('entrust')->where('id',$id)->update($entrust_update);
             $res_check = Db::name('res')->insert($params);
             $log_res = Db::name('entrust_log')->insert($log);
-            if (!$entrust_res || !$res_check){
+            if (!$log_res || !$res_check){
                 $result = false;
             }
             Db::commit();