diff --git a/app/Library/Lookups/LookupHelper.php b/app/Library/Lookups/LookupHelper.php index 76c720715..9eed8197d 100644 --- a/app/Library/Lookups/LookupHelper.php +++ b/app/Library/Lookups/LookupHelper.php @@ -151,7 +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)) { try { $response = $this->esi->invoke('get', '/characters/{character_id}/', [