diff --git a/app/Library/Lookups/LookupHelper.php b/app/Library/Lookups/LookupHelper.php index 4beb54b27..0f9766932 100644 --- a/app/Library/Lookups/LookupHelper.php +++ b/app/Library/Lookups/LookupHelper.php @@ -151,8 +151,7 @@ class LookupHelper { $char = $this->LookupCharacter($charId, null); //if the character was not found in the database, then get the information and store it in our database for later - if($char === null) { - + if(!isset($char->id)) { try { $response = $this->esi->invoke('get', '/characters/{character_id}/', [ 'character_id' => $charId,