Fix typo bug for session #122

This commit is contained in:
Kendrick Chan 2018-05-20 23:02:06 +08:00
parent 429dc99b29
commit 3727ae1fed

View file

@ -1365,7 +1365,7 @@ class JobOrderController extends BaseController
protected function sendEvent(JobOrder $job_order, $payload)
{
$sessions = $job_order->getCustomer()->getMobileSessions();
if (count($session) == 0)
if (count($sessions) == 0)
return;
$client = new MosquittoClient();