moon reservations

This commit is contained in:
2020-03-02 21:24:02 -06:00
parent 17eced109d
commit fc57039c00

View File

@@ -138,10 +138,10 @@ class MoonsController extends Controller
//Check to see if the moon is not available //Check to see if the moon is not available
$future = AllianceMoon::where([ $future = AllianceMoon::where([
'Region' => $region, 'Region' => (string)$region,
'System' => $request->system, 'System' => (string)$request->system,
'Planet' => $request->planet, 'Planet' => (string)$request->planet,
'Moon' => $request->moon, 'Moon' => (string)$request->moon,
])->first(); ])->first();
if($future->Availability != 'Available') { if($future->Availability != 'Available') {