Revert use of isEmpty on arraycollection on mqtt connector #730
This commit is contained in:
parent
df6a4ad292
commit
87702f0e4c
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ class MQTTClient
|
||||||
|
|
||||||
$new_sessions = [];
|
$new_sessions = [];
|
||||||
$cust_user = $job_order->getCustomer()->getCustomerUser();
|
$cust_user = $job_order->getCustomer()->getCustomerUser();
|
||||||
if ($cust_user->isEmpty()) {
|
if (!empty($cust_user)) {
|
||||||
$new_sessions = $cust_user->getMobileSessions();
|
$new_sessions = $cust_user->getMobileSessions();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue