diff --git a/app/Console/Commands/corpJournal.php b/app/Console/Commands/corpJournal.php index 7e44b367a..9ae1b9085 100644 --- a/app/Console/Commands/corpJournal.php +++ b/app/Console/Commands/corpJournal.php @@ -66,7 +66,7 @@ class CorpJournal extends Command foreach($corps as $corp) { $charId = CorpStructure::where(['corporation_id' => $corp->corporation_id])->first(['character_id']); $this->line($charId); - $finance->GetWalletJournal(1, $charId[0]); + $finance->GetWalletJournal(1, $charId['character_id']); } //Mark the job as finished