Initialize jo_data as null in RAPI call #488

This commit is contained in:
Kendrick Chan 2020-09-16 20:23:36 +08:00
parent 2c4167a093
commit 1e23764452

View file

@ -2111,7 +2111,7 @@ class CMBRiderAPIHandler implements RiderAPIHandlerInterface
return $data;
}
$jo_data = [];
$jo_data = null;
// check if JO status is in_progress, in_transit, performed, paid
switch($jo->getStatus())
{