From 2b48c702d4693cd81208e8885bfb5ce2c4d7ff88 Mon Sep 17 00:00:00 2001 From: Korina Cordero Date: Thu, 3 Oct 2019 03:44:45 +0000 Subject: [PATCH] Fix for fatal error in command. #270 --- src/Command/ImportCMBBatteryDataCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Command/ImportCMBBatteryDataCommand.php b/src/Command/ImportCMBBatteryDataCommand.php index 09ca7a09..9935b040 100644 --- a/src/Command/ImportCMBBatteryDataCommand.php +++ b/src/Command/ImportCMBBatteryDataCommand.php @@ -186,7 +186,7 @@ class ImportCMBBatteryDataCommand extends Command if (!(empty($sdfc))) { $this->addBattery($brand_sdfc, $sdfc); - $comp_batteries[] = $$this->batt_hash[$brand_sdfc][$brand_sdfc][$sdfc]; + $comp_batteries[] = $this->batt_hash[$brand_sdfc][$brand_sdfc][$sdfc]; } } @@ -195,7 +195,7 @@ class ImportCMBBatteryDataCommand extends Command if (!(empty($ultramax))) { $this->addBattery($brand_ultramax, $ultramax); - $comp_batteries[] = $$this->batt_hash[$brand_ultramax][$brand_ultramax][$ultramax]; + $comp_batteries[] = $this->batt_hash[$brand_ultramax][$brand_ultramax][$ultramax]; } }