fireStations - fix złośliwej literówki

This commit is contained in:
Krzysztof Strzelecki 2019-12-30 16:00:01 +01:00
parent 5f139cd425
commit 30b0880f93

View File

@ -24,7 +24,7 @@ class fireStationController extends Controller
if(auth()->user() != null && auth()->user()->fireStationID != null ) if(auth()->user() != null && auth()->user()->fireStationID != null )
{ {
$id = auth()->user()->fireStationID; $id = auth()->user()->fireStationID;
$fireStation = DB::table('firestations')->where("id", $id)->first(); $fireStation = DB::table('fireStations')->where("id", $id)->first();
$voivodeships = DB::table('wojewodztwa')->pluck("name","id"); $voivodeships = DB::table('wojewodztwa')->pluck("name","id");
return view('fireStationEdit', ["fireStation" => $fireStation], compact('voivodeships')); return view('fireStationEdit', ["fireStation" => $fireStation], compact('voivodeships'));
} }