body for esi

This commit is contained in:
2018-11-13 22:18:44 -06:00
parent 73ff0e8fe7
commit 4407b70ecb
2 changed files with 3 additions and 3 deletions

View File

@@ -100,7 +100,7 @@ class FleetsController extends Controller
//Retrieve the fleet data
$fleet = DB::table('Fleets')->where('fleet', $fleetId)->get();
//Add a pilot to the fleet
$error = $newPilot->AddPilot($fleet[0]->character_id, $charId);
$error = $newPilot->AddPilot($fleet[0]->character_id, $charId, $fleetId);
if($error) {
return view('fleets.displayfleets')->with($error)->with('data', null);
} else {