From 7b167387094d11104ea7bf2e9cd34f0d9e10bcfe Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Fri, 21 Jul 2023 06:28:40 +0000 Subject: [PATCH] Fix typo. #753 --- src/Service/RiderAPIHandler/ResqRiderAPIHandler.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Service/RiderAPIHandler/ResqRiderAPIHandler.php b/src/Service/RiderAPIHandler/ResqRiderAPIHandler.php index 66d91060..311d43fd 100644 --- a/src/Service/RiderAPIHandler/ResqRiderAPIHandler.php +++ b/src/Service/RiderAPIHandler/ResqRiderAPIHandler.php @@ -876,9 +876,9 @@ class ResqRiderAPIHandler implements RiderAPIHandlerInterface { // right now, the app does not include trade-ins but this might change in the future if ($trade_in == null) - $icrit->addEntry($batt, null, 1); + $crit->addEntry($battery, null, 1); else - $icrit->addEntry($batt, $trade_in, 1); + $crit->addEntry($battery, $trade_in, 1); // error_log('adding entry for battery - ' . $battery->getID()); }