update moon issue

This commit is contained in:
2020-02-02 12:51:12 -06:00
parent fa839e6046
commit 0184eebcd2
2 changed files with 1 additions and 2 deletions

View File

@@ -234,8 +234,6 @@ class MoonsAdminController extends Controller
$mn = $str_array[2];
$name = $str_array[3];
dd($request->contact);
//Take the contact name and create a character_id from it
if($request->contact == 'None') {
$contact = -1;

View File

@@ -407,6 +407,7 @@ class LookupHelper {
} else if($name != null) {
//If the name is not null then attemp to lookup the character
$count = CharacterLookup::where(['name' => $name])->count();
dd($count);
if($count > 0) {
$character = CharacterLookup::where(['name' => $name])->first();
} else {