diff --git a/app/Library/Finances/Helper/FinanceHelper.php b/app/Library/Finances/Helper/FinanceHelper.php index a6a5fd377..94b9633fb 100644 --- a/app/Library/Finances/Helper/FinanceHelper.php +++ b/app/Library/Finances/Helper/FinanceHelper.php @@ -340,7 +340,7 @@ class FinanceHelper { $lookups = new LookupHelper; //Reference to see if the character is in our look up table for corporations and characters - $corpId = $lookups->LookupCorporation($charId); + $corpId = $lookups->LookupCorporationId($charId); //Create an ESI authentication container $config = config('esi'); diff --git a/app/Library/Lookups/LookupHelper.php b/app/Library/Lookups/LookupHelper.php index 9d1a13edf..50687247a 100644 --- a/app/Library/Lookups/LookupHelper.php +++ b/app/Library/Lookups/LookupHelper.php @@ -97,7 +97,7 @@ class LookupHelper { } } - public function LookupCorporation($charId) { + public function LookupCorporationId($charId) { //Check for the character in the user_to_corporation table $found = CharacterToCorporation::where('character_id', $charId)->get(['corporation_id']);