updated lookup helpers
This commit is contained in:
@@ -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
|
//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();
|
$count = CharacterToCorporation::where(['character_name' => $character])->count();
|
||||||
if($count == 0) {
|
if($count === 0) {
|
||||||
$name = str_replace(' ', '%20', $character);
|
$name = str_replace(' ', '%20', $character);
|
||||||
|
dd($name);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
//Get the character id from the ESI API.
|
//Get the character id from the ESI API.
|
||||||
|
|||||||
Reference in New Issue
Block a user