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
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ class fireStationController extends Controller
if(auth()->user() != null && auth()->user()->fireStationID != null )
{
$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");
return view('fireStationEdit', ["fireStation" => $fireStation], compact('voivodeships'));
}