From 3484ebf04e06375b73248f257ac56a189f4be78b Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Wed, 11 Dec 2019 23:46:53 -0600 Subject: [PATCH] modified the way characters are looked up in the database versus esi --- app/Library/Finances/Helper/FinanceHelper.php | 1 - app/Library/Lookups/LookupHelper.php | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Library/Finances/Helper/FinanceHelper.php b/app/Library/Finances/Helper/FinanceHelper.php index e60b1912b..d7dbd72ca 100644 --- a/app/Library/Finances/Helper/FinanceHelper.php +++ b/app/Library/Finances/Helper/FinanceHelper.php @@ -138,7 +138,6 @@ class FinanceHelper { //Refrence to see if the character is in our look up table for corporation and characters $char = $lookup->GetCharacterInfo($charId); - dd($char); $corpId = $char->corporation_id; //Create the ESI authentication container diff --git a/app/Library/Lookups/LookupHelper.php b/app/Library/Lookups/LookupHelper.php index cd04ef59e..202445132 100644 --- a/app/Library/Lookups/LookupHelper.php +++ b/app/Library/Lookups/LookupHelper.php @@ -150,6 +150,8 @@ class LookupHelper { //Check our own database first $char = $this->LookupCharacter($charId, null); + dd($char); + //if the character was not found in the database, then get the information and store it in our database for later if($char == null) { try {