From 1e237644525c25b44c70cc9719a23885e6cde925 Mon Sep 17 00:00:00 2001 From: Kendrick Chan Date: Wed, 16 Sep 2020 20:23:36 +0800 Subject: [PATCH] Initialize jo_data as null in RAPI call #488 --- src/Service/RiderAPIHandler/CMBRiderAPIHandler.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php b/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php index 773b17c0..661898cd 100644 --- a/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php +++ b/src/Service/RiderAPIHandler/CMBRiderAPIHandler.php @@ -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()) {