Make sure batt_id is null in change service rider api call
This commit is contained in:
parent
ea94c08939
commit
bbeb3be10d
1 changed files with 1 additions and 1 deletions
|
|
@ -771,7 +771,7 @@ class RAPIController extends Controller
|
||||||
$jo->setORNum($or_num);
|
$jo->setORNum($or_num);
|
||||||
|
|
||||||
// check battery id
|
// check battery id
|
||||||
$batt_id = $req->request->get('batt_id');
|
$batt_id = $req->request->get('batt_id', null);
|
||||||
// no battery
|
// no battery
|
||||||
if ($batt_id == 0 || $batt_id == null)
|
if ($batt_id == 0 || $batt_id == null)
|
||||||
$battery = null;
|
$battery = null;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue