From e09000480cf93c309b36bade41627984e9112e46 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Fri, 28 Jun 2019 20:27:00 -0500 Subject: [PATCH] updated lookup helpers --- app/Library/Lookups/LookupHelper.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/Library/Lookups/LookupHelper.php b/app/Library/Lookups/LookupHelper.php index 4f904dca6..a93057e48 100644 --- a/app/Library/Lookups/LookupHelper.php +++ b/app/Library/Lookups/LookupHelper.php @@ -36,8 +36,9 @@ class LookupHelper { //Attempt to find the character name in the LookupCharacter table to see if we can match it to an id $count = CharacterToCorporation::where(['character_name' => $character])->count(); - if($count == 0) { + if($count === 0) { $name = str_replace(' ', '%20', $character); + dd($name); try { //Get the character id from the ESI API.