linwu 1 vuosi sitten
vanhempi
commit
01f51e78f5
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      app/mainapp/controller/My.php

+ 1 - 1
app/mainapp/controller/My.php

@@ -180,7 +180,7 @@ class My extends BaseController
             'workerall' => $workerall->isEmpty() ? null : $workerall,
             'agentall'  => $agentall->isEmpty() ? null : $agentall,
             'brokerall' => $brokerall->isEmpty() ? null : $brokerall,
-            'resident'  => empty($resident) ? null : $resident,
+            'resident'  => $resident->isEmpty() ? null : $resident,
         ]);
     }