moon reservations
This commit is contained in:
@@ -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') {
|
||||||
|
|||||||
Reference in New Issue
Block a user