Revert use of isEmpty on arraycollection on mqtt connector #730

This commit is contained in:
Ramon Gutierrez 2023-05-04 17:41:19 +08:00
parent df6a4ad292
commit 87702f0e4c

View file

@ -43,7 +43,7 @@ class MQTTClient
$new_sessions = [];
$cust_user = $job_order->getCustomer()->getCustomerUser();
if ($cust_user->isEmpty()) {
if (!empty($cust_user)) {
$new_sessions = $cust_user->getMobileSessions();
}