From 60604f208c8601e3adbf571d46c7754cb03542d9 Mon Sep 17 00:00:00 2001 From: drkthunder02 Date: Fri, 5 Jun 2020 01:06:08 -0500 Subject: [PATCH] rental moon testing --- app/Http/Controllers/Moons/MoonsAdminController.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/Http/Controllers/Moons/MoonsAdminController.php b/app/Http/Controllers/Moons/MoonsAdminController.php index 9729b58a8..2fc7f5daa 100644 --- a/app/Http/Controllers/Moons/MoonsAdminController.php +++ b/app/Http/Controllers/Moons/MoonsAdminController.php @@ -198,7 +198,7 @@ class MoonsAdminController extends Controller $moon = $str_array[2]; //Update the moon rental - AllianceMoonRental::where([ + AllianceRentalMoon::where([ 'system' => $system, 'planet' => $planet, 'moon' => $moon, @@ -392,7 +392,7 @@ class MoonsAdminController extends Controller //Check if the alliance is renting the moon for itself if($request->contact_type == 'Corporation' && $request->contact == 'Spatial Forces') { - AllianceMoonRental::where([ + AllianceRentalMoon::where([ 'system' => $str_array[0], 'planet' => $str_array[1], 'moon' => $str_array[2], @@ -420,7 +420,7 @@ class MoonsAdminController extends Controller $type = 'Out of Alliance'; } - AllianceMoonRental::where([ + AllianceRentalMoon::where([ 'system' => $str_array[0], 'planet' => $str_array[1], 'moon' => $str_array[2],