wangzq 2 years ago
parent
commit
04b1b407b7
1 changed files with 1 additions and 1 deletions
  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]);
                 }
             }