updated lookup helpers

This commit is contained in:
2019-06-28 20:27:00 -05:00
parent 7be6317e5e
commit e09000480c

View File

@@ -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.