Fix for fatal error in command. #270

This commit is contained in:
Korina Cordero 2019-10-03 03:44:45 +00:00
parent 54a367af96
commit 2b48c702d4

View file

@ -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];
}
}