Fix setting of landmark if no landmark is received. #632

This commit is contained in:
Korina Cordero 2021-11-03 07:18:57 +00:00
parent 12c85e5cbb
commit 8d5b67b020

View file

@ -2719,7 +2719,7 @@ class APIController extends Controller implements LoggedController
$instructions = $req->request->get('delivery_instructions', ''); $instructions = $req->request->get('delivery_instructions', '');
// landmark // landmark
$landmark = $req->request->get('landmark', ''); $landmark = $req->request->get('landmark', ' ');
// longitude and latitude // longitude and latitude
$long = $req->request->get('long'); $long = $req->request->get('long');