errors
This commit is contained in:
@@ -102,7 +102,7 @@ class FleetsController extends Controller
|
|||||||
//Add a pilot to the fleet
|
//Add a pilot to the fleet
|
||||||
$error = $newPilot->AddPilot($fleet[0]->character_id, $charId);
|
$error = $newPilot->AddPilot($fleet[0]->character_id, $charId);
|
||||||
if($error) {
|
if($error) {
|
||||||
return view('fleets.displayfleet')->with($error)->with('data', null);
|
return view('fleets.displayfleets')->with($error)->with('data', null);
|
||||||
} else {
|
} else {
|
||||||
return redirect('/fleets/display');
|
return redirect('/fleets/display');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user