update moon issue
This commit is contained in:
@@ -234,8 +234,6 @@ class MoonsAdminController extends Controller
|
|||||||
$mn = $str_array[2];
|
$mn = $str_array[2];
|
||||||
$name = $str_array[3];
|
$name = $str_array[3];
|
||||||
|
|
||||||
dd($request->contact);
|
|
||||||
|
|
||||||
//Take the contact name and create a character_id from it
|
//Take the contact name and create a character_id from it
|
||||||
if($request->contact == 'None') {
|
if($request->contact == 'None') {
|
||||||
$contact = -1;
|
$contact = -1;
|
||||||
|
|||||||
@@ -407,6 +407,7 @@ class LookupHelper {
|
|||||||
} else if($name != null) {
|
} else if($name != null) {
|
||||||
//If the name is not null then attemp to lookup the character
|
//If the name is not null then attemp to lookup the character
|
||||||
$count = CharacterLookup::where(['name' => $name])->count();
|
$count = CharacterLookup::where(['name' => $name])->count();
|
||||||
|
dd($count);
|
||||||
if($count > 0) {
|
if($count > 0) {
|
||||||
$character = CharacterLookup::where(['name' => $name])->first();
|
$character = CharacterLookup::where(['name' => $name])->first();
|
||||||
} else {
|
} else {
|
||||||
|
|||||||
Reference in New Issue
Block a user