From c729b33852dd5a323b55ba40416619bc1cf57f65 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Thu, 4 Jun 2020 23:43:37 -0500 Subject: [PATCH] rental moon testing --- app/Http/Controllers/Moons/MoonsAdminController.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/Http/Controllers/Moons/MoonsAdminController.php b/app/Http/Controllers/Moons/MoonsAdminController.php index 483662081..aa25f4487 100644 --- a/app/Http/Controllers/Moons/MoonsAdminController.php +++ b/app/Http/Controllers/Moons/MoonsAdminController.php @@ -408,10 +408,10 @@ class MoonsAdminController extends Controller } else if($request->contact_type == 'Character') { //Get the character id from the lookup helper $charId = $lookup->CharacterNameToId($request->contact); - dd($charId); + $char = $lookup->GetCharacterInfo($charId); //Get the corporation id from the lookup helper, followed by the alliance id //so we can determine if it's in alliance or out of alliance - $corp = $lookup->GetCorporationInfo($charId); + $corp = $lookup->GetCorporationInfo($char->corporation_id); dd($corp); if($corp->alliance_id == 99004116) {