srp form testing

This commit is contained in:
2019-06-30 01:33:07 -05:00
parent 677cf8e3d1
commit 74c69a42c9

View File

@@ -46,7 +46,7 @@ class SRPController extends Controller
$ship->character_id = auth()->user()->character_id; $ship->character_id = auth()->user()->character_id;
$ship->character_name = auth()->user()->name; $ship->character_name = auth()->user()->name;
$ship->fleet_commander_name = $request->FC; $ship->fleet_commander_name = $request->FC;
if($fcId[0] != null) { if(isset($fcId[0])) {
$ship->fleet_commander_id = $fcId[0]; $ship->fleet_commander_id = $fcId[0];
} }
$ship->zkillboard = $request->zKillboard; $ship->zkillboard = $request->zKillboard;