wangzq 2 년 전
부모
커밋
04b1b407b7
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      app/Http/Controllers/QuickApp/User/UserController.php

+ 1 - 1
app/Http/Controllers/QuickApp/User/UserController.php

@@ -392,7 +392,7 @@ class UserController extends BaseController
         if ($this->distribution_channel_id == 14903 && $new_user_tasks){
             $new_user_tasks =  $new_user_tasks->toArray();
             foreach ($new_user_tasks as $key =>  $val){
-                if ($val->code == "add_desk"){
+                if ($val['code'] == "add_desk"){
                     unset($new_user_tasks[$key]);
                 }
             }