update moon issue
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user