Commit eb0e1d4f authored by Waterfox's avatar Waterfox
Browse files

Merge branch 'DivingCreation'

parents da775bb2 e1a7985e
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ class DiveSessionUpdate extends Controller
    //Update a diving session
    public static function update($request, $id)
    {
        $dv = DivingSession::where('DS_CODE', $id);
        $dv = DivingSession::where('DS_CODE', $id)->first();

        $dv->US_ID = $request->pilot;
        $dv->DL_ID = $request->location;
@@ -26,3 +26,5 @@ public static function update($request, $id)
        $dv->save();
    }
}

?>