diff --git a/app/Console/Commands/Finances/SovBills.php b/app/Console/Commands/Finances/SovBills.php index 0751c0887..89a10c0b3 100644 --- a/app/Console/Commands/Finances/SovBills.php +++ b/app/Console/Commands/Finances/SovBills.php @@ -96,7 +96,7 @@ class SovBillsCommand extends Command $esi->setVersion('v4'); //Reference to see if the character is in our look up table for corporations and characters - $char = $lookup->GetCharacterInfo($charId); + $char = $lookup->GetCharacterInfo($config['primary']); $corpId = $char->corporation_id; //Get the total pages for the journal for the sov bills from the holding corporation