fleets
This commit is contained in:
@@ -34,7 +34,7 @@ class FleetsController extends Controller
|
|||||||
$fleetUri = $fleet->SetFleetUri($request->fleetUri);
|
$fleetUri = $fleet->SetFleetUri($request->fleetUri);
|
||||||
|
|
||||||
//Check for the fleet in the database
|
//Check for the fleet in the database
|
||||||
$check = DB::table('Fleets')->where('fleet')->first();
|
$check = DB::table('Fleets')->where('fleet', $fleetUri)->first();
|
||||||
//If we do not find the fleet, let's create it.
|
//If we do not find the fleet, let's create it.
|
||||||
if($check !== null) {
|
if($check !== null) {
|
||||||
$current = Carbon::now();
|
$current = Carbon::now();
|
||||||
|
|||||||
Reference in New Issue
Block a user