body for esi

This commit is contained in:
2018-11-13 22:20:33 -06:00
parent 4407b70ecb
commit 4ee83ed3af

View File

@@ -101,11 +101,9 @@ class FleetsController extends Controller
$fleet = DB::table('Fleets')->where('fleet', $fleetId)->get();
//Add a pilot to the fleet
$error = $newPilot->AddPilot($fleet[0]->character_id, $charId, $fleetId);
if($error) {
return view('fleets.displayfleets')->with($error)->with('data', null);
} else {
return redirect('/fleets/display');
}
$this->displayFleets();
//return view('fleets.displayfleets')->with($error)->with('data', null);
}
public function updateFleet() {